Update testnet validator creation instructions to use onboarding app (#18)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675) Reviewed-on: #18 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
This commit is contained in:
parent
391dcb57b4
commit
3b6985adb7
@ -10,3 +10,6 @@ Stacks to run a node for laconic testnet
|
|||||||
|
|
||||||
Follow steps in [testnet-onboarding-demo.md](./testnet-onboarding-demo.md) to run demo for onboarding testnet participants in laconicd chain
|
Follow steps in [testnet-onboarding-demo.md](./testnet-onboarding-demo.md) to run demo for onboarding testnet participants in laconicd chain
|
||||||
|
|
||||||
|
## Join LORO testnet
|
||||||
|
|
||||||
|
Follow steps in [testnet-onboarding-validator.md](./testnet-onboarding-validator.md) to onboard your participant and join as a validator on the LORO testnet
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
* Send transaction request to the wallet
|
* Send transaction request to the wallet
|
||||||
|
|
||||||
* From wallet, approve and send transaction to laconicd chain
|
* From wallet, approve and send transaction to stage0 laconicd chain
|
||||||
|
|
||||||
## Join as a validator on stage1
|
## Join as a validator on stage1
|
||||||
|
|
||||||
@ -123,7 +123,7 @@
|
|||||||
# Use the provided node id
|
# Use the provided node id
|
||||||
CERC_PEERS=""
|
CERC_PEERS=""
|
||||||
|
|
||||||
# A custom human readable name for this node (default: TestnetNode)
|
# A custom human readable name for this node
|
||||||
CERC_MONIKER=
|
CERC_MONIKER=
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -163,7 +163,31 @@ laconic-so deployment --dir testnet-laconicd-deployment start
|
|||||||
|
|
||||||
### Join as testnet validator
|
### Join as testnet validator
|
||||||
|
|
||||||
* Import a key pair:
|
* Create a validator from the onboarding app:
|
||||||
|
|
||||||
|
* Visit the [validator creation](https://loro-signup.laconic.com/validator) page
|
||||||
|
|
||||||
|
* Select the Laconic account (same as the one used while onboarding) using which you wish to send the create validator request
|
||||||
|
|
||||||
|
* This should display the details of your onboarded participant
|
||||||
|
|
||||||
|
* You can proceed if the participant has `validator` role
|
||||||
|
|
||||||
|
* Enter your node's moniker (use the same one used while [configuring](#configuration) the `testnet-laconicd-deployment`)
|
||||||
|
|
||||||
|
* Fetch and enter your validator's pubkey:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
laconic-so deployment --dir testnet-laconicd-deployment exec laconicd "laconicd cometbft show-validator" | jq -r .key
|
||||||
|
```
|
||||||
|
|
||||||
|
* Send the transaction request to wallet
|
||||||
|
|
||||||
|
* From wallet, approve and send transaction to stage1 laconicd chain
|
||||||
|
|
||||||
|
* Alternatively, create a validator using the laconicd CLI:
|
||||||
|
|
||||||
|
* Import a key pair:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
KEY_NAME=alice
|
KEY_NAME=alice
|
||||||
@ -176,13 +200,13 @@ laconic-so deployment --dir testnet-laconicd-deployment start
|
|||||||
laconic-so deployment --dir testnet-laconicd-deployment exec laconicd "laconicd keys show $KEY_NAME -a"
|
laconic-so deployment --dir testnet-laconicd-deployment exec laconicd "laconicd keys show $KEY_NAME -a"
|
||||||
```
|
```
|
||||||
|
|
||||||
* Check balance for your account:
|
* Check balance for your account:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
laconic-so deployment --dir testnet-laconicd-deployment exec laconicd "laconicd query bank balances <account-address>"
|
laconic-so deployment --dir testnet-laconicd-deployment exec laconicd "laconicd query bank balances <account-address>"
|
||||||
```
|
```
|
||||||
|
|
||||||
* Create required validator configuration:
|
* Create required validator configuration:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Note:
|
# Note:
|
||||||
@ -202,7 +226,7 @@ laconic-so deployment --dir testnet-laconicd-deployment start
|
|||||||
EOF'
|
EOF'
|
||||||
```
|
```
|
||||||
|
|
||||||
* Create a validator:
|
* Create a validator:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
laconic-so deployment --dir testnet-laconicd-deployment exec laconicd "laconicd tx staking create-validator my-validator.json \
|
laconic-so deployment --dir testnet-laconicd-deployment exec laconicd "laconicd tx staking create-validator my-validator.json \
|
||||||
@ -243,3 +267,7 @@ laconic-so deployment --dir testnet-laconicd-deployment start
|
|||||||
# Remove deployment directory (deployment will have to be recreated for a re-run)
|
# Remove deployment directory (deployment will have to be recreated for a re-run)
|
||||||
rm -r testnet-laconicd-deployment
|
rm -r testnet-laconicd-deployment
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Troubleshooting
|
||||||
|
|
||||||
|
* If you face any issues in the onboarding app or the web-wallet, clear your browser cache and reload
|
||||||
|
Loading…
Reference in New Issue
Block a user