laconicd-deprecated/testnet/validator-node.md

57 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2021-10-25 13:05:59 +00:00
### Create Validator Post Genesis
1. Run Full Node
2. Create Account and Get test tokens
3. Create Validator
### 1.Run Full Node
- Check "[Run Full Node](full-node.md)" section to Run a Full Node
### 2. Create Account & Get test tokens
```
2021-11-03 07:04:12 +00:00
ethermintd keys add <key-name> --keyring-backend test
2021-10-25 13:05:59 +00:00
```
NOTE: Save `mnemonic` and related account details (public key). You will need to use the need mnemonic/private key to
recover accounts at a later point in time.
##### Get Test tokens from faucet
2021-11-03 07:04:12 +00:00
- Open this link : http://167.172.173.94:1314/ and paste your account
- 1 gnt = 10^18 agnt
- Each Transaction you will get 500gnt
- Total Tokens 5000gnt for account
2021-10-25 13:05:59 +00:00
### 3.Create Validator
- ##### Check full node sync status
`ethermintd status 2>&1 | jq -r ".SyncInfo"`
`catching_up: false` means node is completely synced
- ##### Create validator
`Note:` Only execute below transaction after complete sync of your full node
2021-11-03 07:04:12 +00:00
Please replace `key_name` with your key name and `moniker` also
2021-10-25 13:05:59 +00:00
```
ethermintd tx staking create-validator \
2021-11-03 07:04:12 +00:00
--amount=4500000000000000000000agnt \
2021-10-25 13:05:59 +00:00
--pubkey=$(ethermintd tendermint show-validator) \
--moniker="my-moniker" \
--website="https://myweb.site" \
--details="description of your validator" \
2021-11-03 07:04:12 +00:00
--chain-id="ethermint_81337-1" \
2021-10-25 13:05:59 +00:00
--commission-rate="0.10" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation="1" \
--gas="auto" \
--gas-adjustment="1.2" \
2021-11-03 07:04:12 +00:00
--gas-prices="0.025agnt" \
2021-10-25 13:05:59 +00:00
--from=<key_name>
```