Docs
chromia.com

multi-signature

On this page
Help output
Usage: chr multi-signature [OPTIONS] COMMAND [ARGS]...

  Handle transactions with need of multiple signers

╭─ Options ───────────────────────────────────────────────────────────────────╮
│  -h, --help  Show this message and exit                                     │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────╮
│  create  Creates a new transaction for multi signature and signs it with    │
│          your key                                                           │
│  sign    Sign a existing transaction with your key                          │
│  send    Send a fully signed transaction                                    │
│  view    View a existing transaction                                        │
╰─────────────────────────────────────────────────────────────────────────────╯

You can use the multi-signature command (chr multi-signature) for handling transactions that need multiple signers.

multi-signature create

Help output
Usage: chr multi-signature create [<options>] <opname> [<args>]...

  Creates a new transaction for multi signature and signs it with your key

Configuration Properties:
  -cfg, --config=<config>    Alternate path for client configuration file
  -s, --settings=<settings>  Alternate path for project settings file

dApp target options:
  -brid, --blockchain-rid=<text>  Target Blockchain RID
  --cid=<int>                     Target Blockchain IID
  --api-url=<text>                Target api url
  --mainnet, --testnet            Select network, use instead of --api-url

Deployment:

  Use a configured deployment network target in chromia.yml

  -d, --network=<text>      Specify which deployment target to use
  -bc, --blockchain=<text>  Name of blockchain in deployment configuration

FT compatible dapps options:
  --ft-auth               Adds ft4.ft_auth operation for FT-compatible dapps
  --ft-account-id=<text>  Explicitly specify which account to use
  -id, --auth-descriptor-id=<text>
                          Explicitly specify which auth descriptor id to use

Key pair source:
  --secret=<path>    Path to secret file (pubkey/privkey)
  --key-id=<key_id>  Key ID of the keypair to use

Signers, leave out this option to send transaction directly:
  --signer=<value>       Public keys of signer (can be repeated)
  --signers=<value>      Comma separated list of keys of signers
  --signers-file=<path>  Path to file containing public keys of signers, one
                         per line

Options:
  --target=<path>        Path where file should be saved
  --timeb-from=<value>   Add timeb operation to make transaction fail if
                         applied before the given time (UTC). Supported
                         formats: yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and
                         milliseconds since 1970 (unix/epoch time)
  --timeb-at=<value>     Add timeb operation to make transaction fail if
                         applied after the given time (UTC). Supported formats:
                         yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds
                         since 1970 (unix/epoch time)
  --timeb-after=<value>  Add timeb operation to make transaction fail if
                         applied after the given number of seconds from now.
  -h, --help             Show this message and exit

Arguments:
  <opname>  name of the operation to execute.
  <args>    arguments to pass to the operation. (integer: 123) (big_integer:
            1234L) (string: foo, "bar") (bytearray: will be encoded using the
            rell notation x"<myByteArray>" and will initially be interpreted as
            a hex-string.) (array: [foo,123]) (dict:
            ["key1":value1,"key2":value2])

The create command chr multi-signature create allows you to create a new transaction for multi signature and signs it with your key.

multi-signature sign

Help output
Usage: chr multi-signature sign [<options>]

  Sign a existing transaction with your key

Configuration Properties:
  -cfg, --config=<config>  Alternate path for client configuration file

Key pair source:
  --secret=<path>    Path to secret file (pubkey/privkey)
  --key-id=<key_id>  Key ID of the keypair to use

Options:
  -f, --file=<path>   Path to file of transaction
  --target=<path>     Path where file should be saved
  --file-name=<text>  Override default name of output file
  -h, --help          Show this message and exit

The sign command chr multi-signature sign allows you to sign a existing transaction with your key.

multi-signature send

Help output
Usage: chr multi-signature send [<options>]

  Send a fully signed transaction

Configuration Properties:
  -cfg, --config=<config>    Alternate path for client configuration file
  -s, --settings=<settings>  Alternate path for project settings file

Key pair source:
  --secret=<path>    Path to secret file (pubkey/privkey)
  --key-id=<key_id>  Key ID of the keypair to use

dApp target options:
  -brid, --blockchain-rid=<text>  Target Blockchain RID
  --cid=<int>                     Target Blockchain IID
  --api-url=<text>                Target api url
  --mainnet, --testnet            Select network, use instead of --api-url

Deployment:

  Use a configured deployment network target in chromia.yml

  -d, --network=<text>      Specify which deployment target to use
  -bc, --blockchain=<text>  Name of blockchain in deployment configuration

Options:
  -a, --await / --no-await  Wait for transaction to be included in a block
  -f, --file=<path>         Path to file of transaction
  -h, --help                Show this message and exit

The send command chr multi-signature send allows you to send a fully signed transaction.

multi-signature view

Help output
Usage: chr multi-signature view [<options>]

  View a existing transaction

Options:
  -f, --file=<path>  Path to file of transaction
  -h, --help         Show this message and exit

The view command chr multi-signature view allows you to view a existing transaction.