Managing Accounts
Follow the steps to make a layer account that can be used to receive funds from the bridge for transacting on layer.
If you do not yet have an account / mnemonic phrase, Generate a new key pair with the command:
./layerd keys add $ACCOUNT_NAME
Be sure to copy the entire output with the mnemonic and keep it in a very safe place!
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)
Last updated