createcommand 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
-pflag or a prompt will be started to ask for it.
kit repo create [options]
kit repo create [flags] <name>
-c, --config string Specify repository settings or a file containing it
-f, --fee float Set transaction fee to pay to the network
-h, --help help for create
-n, --nonce uint Set the next nonce of the signing account signing
-u, --signing-key string Address or index of local account to use for signing transaction
-p, --signing-key-pass string Passphrase for unlocking the signing account
-v, --value float The amount of coins to transfer to the repository
name- The unique name of the repository.
-c, --config- Provide the repository’s governance and access control settings.
-h, --help- Prints out a help message.
-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.
The example below creates a transaction that will register a repo named
myrepoand transfers 120 units of coins to its balance account.
kit repo create "myrepo" -u=0 -f=1.51 -v=120
✅ Transaction sent!
- Name: r/myrepo
- Hash: 0x8297afee13e9a34d3023867ce0d4ca9e515fd1dd3560d959301436d41da3c116