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
- Init
digd init <moniker> --chain-id digtestnet-5 --home ~/.digtestnet
- Download new genesis:
wget -O ~/.digtestnet/config/genesis.json https://raw.githubusercontent.com/notional-labs/dig/master/networks/testnets/testnet-5/genesis.json
- Join the testnet with new seeds:
digd start --p2p.seeds [email protected]:1230, [email protected]:20000 --home ~/.digtestnet
- 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.
- 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