Skip to content

Latest commit

 

History

History
42 lines (40 loc) · 1.36 KB

testnet-guide.md

File metadata and controls

42 lines (40 loc) · 1.36 KB

Remember the version is v1.1.0. Remember to run both mainnet and testnet on the same machine.

cd ~/dig
git checkout v1.1.0
make install
  1. Init
digd init <moniker> --chain-id digtestnet-5 --home ~/.digtestnet
  1. Download new genesis:
wget -O ~/.digtestnet/config/genesis.json https://raw.githubusercontent.com/notional-labs/dig/master/networks/testnets/testnet-5/genesis.json
  1. Join the testnet with new seeds:
digd start --p2p.seeds [email protected]:1230, [email protected]:20000 --home ~/.digtestnet
  1. Generate new keys or restore the existing one;
digd keys add <key-name> --home ~/.digtestnet

If you have validator address before, add --recover flag and type your mnemonic to recover.

Then, go to Faucet channel in Discord to get your token: https://discord.com/channels/873378800199684107/946267035355189248. Send your wallet address to receive tokens.

  1. Create validator!
digd tx staking create-validator \
 --amount=1500000000udix \
 --pubkey=$(digd tendermint show-validator) \
 --moniker=<moniker> \
 --chain-id=digtestnet-5 \
 --commission-rate="0.05" \
 --commission-max-rate="0.20" \
 --commission-max-change-rate="0.01" \
 --min-self-delegation=1 \
 --gas 200000 \
 --fees 250000udix \
 --from=<key-name> \
 --home ~/.digtestnet