cronosdis an all-in-one command-line interface. It supports wallet management, funds transfers and staking operations.
cronosdis bundled with the Crypto.org Chain code. After you have obtained the latest
-h, --helpcommand available
~/.cronosdirectory. Ensure that you have backed up your wallet after creating it. Otherwise, your funds may be inaccessible in the event of an accident.
chain-idcan be changed to
cronostestnet_338-1from a blank name by
.ethermint/config/client.tomlin the folder where we installed ethermint:
client.toml, then save. For example, if we directly change the
ethermint0to ethermint-test1, and output to number, it would change instantly as shown below.
cronosd [command]to get more available commands and details.
keys add <wallet_name>- Create a new key
Defaultas in the following example:
keys add <key_name> --recover- Restore existing key by seed phrase
keys list- List your keys
keys show <key_name>- Retrieve key information
keys delete <key_name>- Delete a key
keys export <key_name>- Export private keys
osbackend stores the keys in operating system's credential sub-system, which are comfortable to most users, yet without compromising on security.
filebackend stores the encrypted keys inside the app's configuration directory. A password entry is required everytime a user access it, which may also occur multiple times of repeated password prompts in one single command.
testbackend is a password-less variation of the
filebackend. It stores unencrypted keys inside the app's configuration directory. It should only be used in testing environments and never be used in production.
tx bank send- Transfer operation
tx bank send <from_key_or_address> <to_address> <amount> <network_id>]
tx staking- Staking operations
tx staking delegate <validator-addr> <amount>]
tx staking unbond <validator-addr> <amount>]
Unbondtransaction to unbond the delegated funds
query bank balances- Check your transferable balance
balancescommand under the bank module.
tx staking create-validator- Joining the network as a validator
tx slashing unjail- Unjail a validator
unjailtransaction to unjail the validator and resume its normal operations by