Managing Accounts

Follow the steps to make and manage your `tellor` account.

Please Read Security Tips:

  • When you create a new account with the layerd keys add command, the output will include the mnemonic. If you want to save your mnemonic, this is the only opportunity to do so. Make sure you copy it to a secure location, because anyone who sees these words can use that wallet as their own!

  • This guide uses the "test" backend for easy compatibility with the reporter daemon. More secure options are as documented in the cosmos SDK and these are all compatible with tellor layer.

  • Once you have your validator node set up, it is good practice to make a secure backup of your whole .layer directory just in case! A validator is difficult to recover without the node_key, priv_validator_key, and priv_validator_state.

  • Never use the same address for running a validator on mainnet which has been used for running a validator on the testnet! If you do this you will be slashed when another validator submits your testnet signatures as evidence of bad behavior on mainnet.

If you do not yet have an account / mnemonic phrase, Generate a new key pair with the command:

./layerd keys add $ACCOUNT_NAME --keyring-backend test

If you already have an account, you can Import it with the command:

./layerd keys add $ACCOUNT_NAME --recover=true

To print the "tellor" prefix address to the terminal:

./layerd keys show $ACCOUNT_NAME

Next, add the --bech val flag to get the "tellorvaloper" prefix address, which is used for validator commands:

./layerd keys show $ACCOUNT_NAME --bech val

It can be useful to add these addresses to your .bashrc or .zshrc file. Be sure to replace your_tellor_prefix_address and your_tellorvaloper_prefix_address in your command:

echo 'export TELLOR_ADDRESS=your_tellor_prefix_address' >> ~/.bashrc #.zshrc if mac
echo 'export TELLORVALOPER_ADDRESS=your_tellorvaloper_prefix_address' >> ~/.bashrc #.zshrc if mac

Restart your terminal, or use source ~/.bashrc before you continue. (if Linux)

Restart your terminal, or use source ~/.zshrc before you continue. (if mac)

Check accounts any time with: ./layerd keys list

Last updated