Ckb-cli deploy multisig improvement plan and feedback collection

Originally posted in GitHub

I plan to enhance the user experience for utilizing multisig in the ckb-cli deploy subcommand. I welcome feedback and any new suggestions.

Add a subcommand ckb-cli deploy inspect-config

  • Check whether the config is correct.
  • Shows what the deploy command will do with the config.
  • Generate recommended locks for the configured multisig config in the config file. Users can use the output to fill the lock.
  • Print a warning if lock does not match the multisig config.

Improve the subcommand ckb-cli deploy explain-txs

  • Show what the user can do with the tx (sign / apply)
  • Show the multisig progress.

Add a subcommand ckb-cli deploy request-signature

  • Help users to prepare files for requesting multisig signatures from signers. Generate the tx json file and a markdown guidance for signers.
  • Support sending request to ckb-cli and Neuron users.

Better UX

  • Better error handling such as #550
  • Allow users include the transactions in the pool when building the deployment transaction.
5 Likes