Creditcoin-CLI (beta)

Creditcoin CLI is a terminal-based general-purpose tool developed by the Creditcoin team and includes all the basic features required to administer nominator and validator accounts. Users can create accounts, send and receive CTC and stake without the need for a graphical interface.

Creditcoin CLI is under active development and might not be straight forward for non-technical users. If you have no systems administrator or CLI tools experience, consider using a GUI wallet. For detailed information about Creditcoin CLI refer to the documentation on Github or the --help command.

Creating accounts

Create accounts using the new command and write down the newly generated mnemonic phrase and store it securely.

creditcoin-cli new

Sending & Receiving CTC

The CLI tool also allows sending and receiving CTC. To send use the send command like so. It will prompt you for the seed phrase of the account from which funds will be sent.

creditcoin-cli send --amount <amount> --to <address>

To receive CTC, you can provide the sender with the receiving account's address.

Computing an Account's Address

To compute an account's address from its seed phrase, use the show-address command. The show-address command will prompt you for the seed phrase.

creditcoin-cli show-address

Checking your Balance

You can check the balance of an account using the command below. This is an unauthenticated command. Ensure the CLI is connected to a node you trust to provide you with accurate data. You can check the balance of any account without incurring transaction fees.

creditcoin-cli balance -a <address>

Staking

You can stake CTC via a terminal by using the bond command with an amount and a controller address. This transaction is signed by your stash account and designates a controller account to act on its behalf. You will be prompted for your stash account's seed phrase.

creditcoin-cli bond \
    --controller <controller-address> \
    --amount <amount> \
    --reward-destination <address>

After bonding CTC, the controller can either set up a new validator node or nominate validators.

If you want to set up a Validator or become a Nominator, read the detailed guides and make sure you understand both risks and responsibilities.

Last updated