NG
Evmos

Evmos

Setup Guide

The new network launching soon, the guide below will connect you to the old network.

1. Install

Use our script for a quick installation:

wget -q -O evmos.sh https://api.nodes.guru/evmos.sh && chmod +x evmos.sh && sudo /bin/bash evmos.sh

Set a name for your node, a name for the wallet, and wait for the installation to complete. After that execute the following command:

source $HOME/.bash_profile

You can check the node logs with the command:

journalctl -u evmosd -f

2. Create a validator

Your node must be synchronized to perform further actions, you can check if the node is synchronized with the command:

curl -s localhost:26657/status | jq .result.sync_info.catching_up

If the result is false, then the node is synchronized (if the result is false too fast, check your current block height by the command curl -s localhost:26657/status).

2.1. Create a wallet

To create a wallet, use the command ($EVMOS_WALLET– the name of the wallet, which you entered during installation, it is a variable, so change something yourself in the command is not necessary):

evmosd keys add $EVMOS_WALLET

Enter the password you want to set to access this wallet, press Enter.

As a result, the following window should appear (the data will be yours, save the bottom line – this is your mnemonic):

Evmos-0

Copy the address (in this screenshot it is evmos143vmkkhcv5aekexqx5jy45sgarxhncm4tljxpc), we will need it for the next step.

2.2 Faucet

To request tokens, you must join Discord and pass the CAPTCHA in the channel #verify, after which you will open the channel #faucet in which you must request tokens by the following command:

!faucet YOUR_WALLET_ADDRESS

Should looks like that:
Evmos-1

Check your balance:

evmosd q bank balances YOUR_WALLET_ADDRESS

As a result, you should see a positive balance of aphoton tokens.

2.3. Becoming a validator

Current active validator set is 300, current minimal stake – 3070000990000aphoton (always increase). You will need to bond more tokens to get into an active validator set.

To become a validator run the command:

evmosd tx staking create-validator \
--amount=90999000000aphoton \
--pubkey=`evmosd tendermint show-validator` \
--moniker="$EVMOS_NODENAME" \
--chain-id="$EVMOS_CHAIN" \
--commission-rate="0.10" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation="1" \
--from="$EVMOS_WALLET"

Enter the password, confirm the transaction. Check if we have become the validator by the command:

curl -s localhost:26657/status | jq .result.validator_info.voting_power

The result must be greater than 0:
Evmos-2

3. Additional

Unjail:

evmosd tx slashing unjail --chain-id $EVMOS_CHAIN --from $EVMOS_WALLET

Withdraw rewards:

evmosd tx distribution withdraw-all-rewards --from $EVMOS_WALLET --chain-id $EVMOS_CHAIN

Check balance:

evmosd q bank balances ADDRESS

Check your balance:

evmosd q bank balances $(evmosd keys show $EVMOS_WALLET -a)

Get your valoper address:

evmosd keys show $EVMOS_WALLET --bech val

Bond more tokens (if you want increase your validator stake you should bond more to your valoper address):

evmosd tx staking delegate YOUR_VALOPER_ADDRESS AMOUNTaphoton --chain-id $EVMOS_CHAIN --from $EVMOS_WALLET

Check your node status:

curl localhost:26657/status

List of active validators:

evmosd query staking validators --limit 1000 -o json | jq -r '.validators[] | select(.status=="BOND_STATUS_BONDED") | [.operator_address, .status, (.tokens|tonumber / pow(10; 6)), .description.moniker] | @csv' | column -t -s"," | sort -k3 -n -r | nl
Stuck? Ask!

By continuing to use our website, you consent to our use of cookies in accordance with our cookie policy