create
The create
command creates a transaction that will register a new repository on the network.
It requires a signing key from the keystore to sign the transaction. The passphrase to unlock the selected signing key can be provided via -p
flag or a prompt will be started to ask for it.
Usage
Arguments
name
- The unique name of the repository.
Options
-c, --config
- Provide the repository’s governance and access control settings.-h, --help
- Prints out a help message.
Transaction Options
-f, --fee
- The number of coins to pay as the transaction fee. It will be deducted from the signer's account.-n, --nonce
- The next nonce of the signer's account (current nonce + 1).-v, --value
- The number of coins to transfer from the signer's account.-u, --signing-key
- The address or index of a key that will be used to sign the transaction.-p, --signing-key-pass
- The passphrase that will be used to unlock the signing key.
Example
The example below creates a transaction that will register a repo named myrepo
and transfers 120 units of coins to its balance account.
Last updated