- Server - Google Cloud Platform
- Zone: us-central1-a
- Machine type: e2-medium (2 vCPUs, 4 GB memory)
- OS: ubuntu-2004-focal-v20210720
- Disk size: 100GB
- Create superuser
sudo passwd
- Configuring the server with components and go installation
sudo apt update && sudo apt upgrade -y
apt install jq
apt install make
apt install screen
apt install -y git
wget https://golang.org/dl/go1.16.5.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.16.5.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> ~/.bashrc
source ~/.bashrc
go version
- Deploy node
cd ~
git clone https://github.com/rizon-world/rizon.git && cd rizon
git checkout v0.2.3
make install
rizond version
v0.2.3
rm -rf ~/.rizon/config
rizond unsafe-reset-all
- Create Validator's Name
rizond init <YOUR-VALIDATOR-NAME> --chain-id groot-11
wget https://raw.githubusercontent.com/rizon-world/testnet/groot-011/genesis.json
cp -f genesis.json ~/.rizon/config/genesis.json
sed -i 's/minimum-gas-prices = ""/minimum-gas-prices = "0.0001uatolo"/g' ~/.rizon/config/app.toml
seeds="08c0e4c197a0607a9832f9b365d07cef9b04a859@3.34.181.126:26656,34cec0c4ada4cd7f8ad26c457d604edc0eff3cb0@13.124.253.195:26656,72016f93daf677147c5d1d2625273dde61ae2d0a@3.34.5.208:26656,fc40d080708997112f799afaac09c667a560131a@65.21.184.214:26656,b197e7a5c3a70d6e6d5d65a09d881fa4ff597201@65.21.106.221:26656,7216c0b7bd384036211946571d5fde3b63e71523@104.251.216.165:26656,4c255b376f2a5208f6a2aed641a50fadd81d318d@128.199.198.111:26656,a891d5b5f6e1b38e851e5e8162641b4c3e722698@95.111.240.161:26656,3b8bba36191286ea05d85d57eed035997da20c0a@3.210.29.92:26656,5f44d0054e7601bef5620e5423d872614828899c@135.181.94.111:26656"
sed -i.bak -e "s/^seeds *=.*/seeds = \"$seeds\"/" $HOME/.rizon/config/config.toml
- Run the node
screen -S rizond
rizond start
CTRL+A+D for exit screen
- #Check "moniker" "chain_id" "block_height" "sync_time" "catching"
rizond status 2>&1 | jq -r '{moniker: .NodeInfo.moniker, chain_id: .NodeInfo.network, block_height: .SyncInfo.latest_block_height, sync_time: .SyncInfo.latest_block_time, catching: .SyncInfo.catching_up}'
false - is right :) (if true, waiting when will be false..)
Explorer Mintscan - testnet.mintscan.io/rizon
- Create Wallet and Save your mnemonic phrase
rizond keys add <wallet_name>
- Take Testnet Tokens by Faucet - faucet.rizon.world
- Create Validator
rizond tx staking create-validator --amount="9000000uatolo" --pubkey=$(rizond tendermint show-validator) --moniker="<your-validator-name>" --commission-rate="0.10" --commission-max-rate="0.20" --commission-max-change-rate="0.01" --min-self-delegation="1" --from <wallet_name> --chain-id=groot-011 --fees="1000uatolo"
- Find yourself at Inactive - testnet.mintscan.io/rizon/validators You will be Active if your place more then 125, good luck!)
Some command for help
#Your Wallet
rizond keys list
#Delegate
rizond tx staking delegate <operator_address> <amount_coin>uatolo --from <wallet_name> --chain-id groot-011 --fees 1000uatolo
#Withdraw Rewards
rizond tx distribution withdraw-all-rewards --from <operator_address> --fees=20uatolo --chain-id groot-011
#Redelegate
rizond tx staking redelegate <operator_address_old> <operator_address_new> <amount_coin>uatolo --from <wallet_name> --chain-id=groot-011 --fees=30uatolo --gas 250000
#Get Valoper Address for Delegate
rizond keys show <wallet_name> --bech val
#Validator Info
rizond q staking validator <your-validator-name>
#Unjail Validator
rizond tx slashing unjail --from <wallet_name> --chain-id groot-011 --fees="100uatolo"
#Restoring Existing Wallet
rizond keys add "<wallet_name>" --recover
#Check if your validator is active
rizond q tendermint-validator-set | grep `rizond tendermint show-address`
For more commands (only groot-011) --> blog.naver.com
Sources:
MaestroIt8#7777
ย