feat: kuai contract deploy command support export tx file #291
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
update
kuai conract deploy
command for support export workflow--export
flag--bin-path
flag--send
flag, tx is now not sent directly without—send
flag--no-type-id
flag--feeRate
flag to--fee-rate
export workflow example :
kuai contract deploy --name sample-dapp --from ckt1qyqw8yx5hx6vwcm7eqren0d0v39wvfwdhy3q2807pp --export ./tx.json
ckb-cli tx sign-inputs --tx-file ./tx.json --from-account 0xe390d4b9b4c7637ec80799bdaf644ae625cdb922 --add-signatures
ckb-cli tx send --tx-file ./tx.json
export workflow with multisig
kuai contract deploy --name sample-dapp --from multisig 0 2 0xe390d4b9b4c7637ec80799bdaf644ae625cdb922 0xb6ddba87bb5af5f053b1ae5bcbc7f4de03479f7e --export ./tx.json
ckb-cli tx sign-inputs --tx-file ./tx.json --from-account 0xe390d4b9b4c7637ec80799bdaf644ae625cdb922 --add-signatures
ckb-cli tx sign-inputs --tx-file ./tx.json --from-account ckt1qyqtdhd6s7a44a0s2wc6uk7tcl6duq68nalqvzxw09 --add-signatures
ckb-cli tx send --tx-file ./tx.json
directly deploy (before method)
kuai contract deploy --bin-path ./sample-dapp --from ckt1qyqw8yx5hx6vwcm7eqren0d0v39wvfwdhy3q2807pp --signer ckb-cli --send