Comment on page
How to delegate atom?
- We are using version 1.19.3 for this tutorial.
Amd-64
Arm-64
curl -OL https://go.dev/dl/go1.19.3.linux-amd64.tar.gz
sudo tar -C /usr/local -xvf go1.19.3.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:$(go env GOPATH)/bin
curl -OL https://go.dev/dl/go1.19.3.linux-arm64.tar.gz
sudo tar -C /usr/local -xvf go1.19.3.linux-arm64.tar.gz
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:$(go env GOPATH)/bin
- The following commands will install the gaia binaries onto your system.
- For this tutorial we are using the 7.1.0 version of gaia.
https://github.com/cosmos/gaia.git
git reset --hard 5db8fcc9a229730f5115bed82d0f85b6db7184b4
cd gaia && make install
- In this tutorial we are running our own node, so we will configure tcp://localhost:26657 for our validator.
- Paste the following command
gaiad config node tcp://localhost:26657
gaiad config chain-id theta-testnet-001
- The following command will generate a key file which will be used to sign blocks onto the cosmos blockchain
cd /home/ubuntu/.gaia
gaiad keys add <Name_For_Your_Key>
Note: A mnemonic seed phase will be generated when you create a key. We can then use this seed phase to import our account into keplr wallet.
Prerequisites:
Steps to import your account
- 1.Open the keplr wallet chrome extension.
- 2.Click on add account.
- 3.Select import existing account.
- 4.Enter the seed phase that was generated in the previous step.
- 5.Done, you have now successfully imported you account into the keplr wallet.
- Once everything is setup, we can now delegate atoms into a validator.
- You need to have the validator address in order to send transaction to the right validator.
gaiad tx staking delegate <validatorAddress> <amountToBond> \
--from <delegatorKeyName> \
--fees=25000uatom
// your balance should change after you bond Atoms or withdraw rewards
gaiad query account
// you should have delegations after you bond Atom
gaiad query staking delegations <delegatorAddress>
Last modified 1yr ago