-
Notifications
You must be signed in to change notification settings - Fork 11
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
Support constructing custom transaction to deploy contracts #232
Comments
Example from Godwoken: https://github.com/godwokenrises/godwoken/blob/develop/crates/tools/src/deploy_genesis.rs |
An idea to manage multi-transactions There are ways to build the multi-transaction json file, and then kuai can support signing / sending of this multi-transaction file {
transatcions: [
{
raw: rawtransatction,
signatures: {}
status: 'pending' | 'commited',
txHash?: string,
},
{
raw: {
cell_deps: [
`Reflect(transactions[0]['outputs'][1])`,
`Reflect(transactions[0]['outputs'][2])`,
],
others…
},
signatures: {}
status: 'pending' | 'commited',
txHash?: string,
},
{
raw: {
inputs: [
`Reflect(transactions[1]['outputs'][1])`,
]
},
signatures: {}
status: 'pending' | 'commited',
txHash?: string,
}
]
},
multisig_config: {
},
others_config: {
}, |
I think it is feasible, a custom script can be added to manipulate temporary transactions before sending it onto the chain |
Collect references first @Keith-CY @zhengjianhui |
This document is not about deploying contracts, it's about creating/updating a cell for record of an account |
I'm going to collect more cases to make this feature clear
The text was updated successfully, but these errors were encountered: