Signing with a Multisig
Collecting signatures for a multisig address requires to write the transaction into file and submit it to collect the various signatures, then combine them into the multisig siganure.
Not all commands in the CLI support the name of a locally registered key. A useful command to write human readable commands while star addresses are explicitely required is
which can be inserted into any CLI command to write the name of a key when the star address is required.
In this exemple, we will sign a send transaction from a multisig account.
Writing the transaction into file
The first step for signing a multisig transaction is to write the transaction in a way that can be shared off chain. This is done with the flag --generate-only
the transaction to be signed is now in the file unsignedTx.json.
Collecting signatures
The second step is for each signature owner to generate their signature for the file unsignedTx.json with the command sign
Combining signatures
Once there are more signatures than required by the threshold, the signature files can be combined into a signed transaction file with the command multisign
Broadcast the signed transaction
The latest file completeTx.json is a valid signed transaction ready to be sent to the IOV Name Service. The command to do so is broadcast
Last updated