laconicd/testnet/validator_node.md

56 lines
1.4 KiB
Markdown
Raw Normal View History

2022-04-06 01:28:21 +00:00
### Create Validator Post Genesis
1. Run Full Node
2. Create Account and Get test tokens
3. Create Validator
### 1.Run Full Node
2022-07-06 13:19:27 +00:00
- Check "[Run Full Node](full_node.md)" section to Run a Full Node
2022-04-06 01:28:21 +00:00
### 2. Create Account & Get test tokens
```
laconicd keys add <key-name> --keyring-backend test
2022-04-06 01:28:21 +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
2022-04-06 01:56:51 +00:00
- Faucet website link will be updated
- 1 CHK = 1 \* 10e^18 achk
2022-04-06 01:28:21 +00:00
### 3.Create Validator
- ##### Check full node sync status
`laconicd status 2>&1 | jq -r ".SyncInfo"`
2022-04-06 01:28:21 +00:00
`catching_up: false` means node is completely synced
2022-04-06 01:28:21 +00:00
- ##### Create validator
`Note:` Only execute below transaction after complete sync of your full node
2022-04-06 01:28:21 +00:00
Please replace `key_name` with your key name, amount with staking amount, validator description and `moniker` also
2022-04-06 01:28:21 +00:00
```
laconicd tx staking create-validator \
--amount="AMOUNT" \
--pubkey=$(laconicd tendermint show-validator) \
2022-04-06 01:28:21 +00:00
--moniker="my-moniker" \
--website="https://myweb.site" \
--details="description of your validator" \
--chain-id="laconic_81337-2" \
2022-04-06 01:28:21 +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" \
2022-04-06 01:56:51 +00:00
--gas-prices="0.025achk" \
2022-04-06 01:28:21 +00:00
--from=<key_name>
```