Then edit migrations/testnet/deployment.json. replace cell_tx_signatures with the one returned from sign-txs. Attention to replace the object values to array. For example, if sign-txs returns
The help message refers to ckb-cli tx to sign the txs, but gen-txs does not create transaction files for ckb-cli tx. It seems the next step should be ckb-cli deploy sign-txs
gen-txs Generate cell/dep_group deploy transaction, then use `ckb-cli tx` sub-command to sign mutlsig
inputs and send the transaction
1. Lack of a wizard to tell what to do next
I cannot find out a manual about how to use
ckb-cli deploy
, Theckb-cli deploy --help
does not tell me the steps either.I finially figured out the steps after trials and errors:
Then edit migrations/testnet/deployment.json. replace
cell_tx_signatures
with the one returned fromsign-txs
. Attention to replace the object values to array. For example, ifsign-txs
returnsSet
cell_tx_signatures
in migrations/testnet/deployment.json to following object instead:It's frustrated that
sign-txs
does not tell how to use the generated signatures, and it's format is not consistent with the info file.The last step is
apply-txs
2. gen-txs help message
The help message refers to
ckb-cli tx
to sign the txs, butgen-txs
does not create transaction files forckb-cli tx
. It seems the next step should beckb-cli deploy sign-txs