-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preprocess a raw transaction so it can be signed by Neuron #314
Comments
Design Draft(2-13--2-14): |
Is it allowed for users to upload json file by clicking |
Yes, |
This issue comes from signing a transaction to upgrade a contract.
The transaction to sign is constructed by contract developer or dapp maintainer, and it's usually a raw transaction that follows data structure of https://github.com/nervosnetwork/ckb/tree/develop/rpc#type-transaction
Here is an example
raw-tx.json
But transaction to sign by Neuron requires extra information because Neuron may be running offline.
Here is an example
tx-to-sign.json
I've used the following script to transform the raw-tx into tx-to-sign
export-tx-to-sign.js.zip
It would be greatly helpful if transform could be done on Neuron Project Page
The text was updated successfully, but these errors were encountered: