Add instructions for testnet validator onboarding #17

Merged
ashwin merged 5 commits from iv-demo-readme into main 2024-08-07 13:35:18 +00:00
Showing only changes of commit 3575479a03 - Show all commits

View File

@ -14,7 +14,12 @@ Instructions for running a laconicd testnet full node and joining as a validator
* Testnet genesis file and peer node address * Testnet genesis file and peer node address
* Get the mnemonic on creating the wallet <https://wallet.laconic.com/> * Mnemonic from the [wallet](https://wallet.laconic.com)
### Participant Onboarded
* Visit <https://wallet.laconic.com/> and click on `Create wallet`
* Save the mnemonic for further usage
* Register your laconic address as a participant using the [Onboarding App](https://loro-signup.laconic.com/) * Register your laconic address as a participant using the [Onboarding App](https://loro-signup.laconic.com/)
@ -26,8 +31,6 @@ Instructions for running a laconicd testnet full node and joining as a validator
* Click on the WalletConnect icon on the top right corner in the wallet * Click on the WalletConnect icon on the top right corner in the wallet
* If using the wallet Android app, scan the QR code from the onboarding app
* If using the wallet website, enter WalletConnect URI for pairing * If using the wallet website, enter WalletConnect URI for pairing
* In the onboarding app, choose your nitro and laconicd account to onboard * In the onboarding app, choose your nitro and laconicd account to onboard
@ -64,6 +67,7 @@ Instructions for running a laconicd testnet full node and joining as a validator
```bash ```bash
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/testnet-laconicd build-containers laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/testnet-laconicd build-containers
```
This should create the following docker images locally: This should create the following docker images locally:
@ -149,15 +153,17 @@ laconic-so deployment --dir testnet-laconicd-deployment start
## Join as testnet validator ## Join as testnet validator
* Create / import a new key pair: * Import a key pair:
```bash ```bash
KEY_NAME=alice
# Restore existing key with mnemonic seed phrase # Restore existing key with mnemonic seed phrase
# You will be prompted to enter mnemonic seed # You will be prompted to enter mnemonic seed
laconic-so deployment --dir testnet-laconicd-deployment exec laconicd "laconicd keys add <key-name> --recover" laconic-so deployment --dir testnet-laconicd-deployment exec laconicd "laconicd keys add $KEY_NAME --recover"
# Query the keystore for your account's address # Query the keystore for your account's address
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:
@ -170,6 +176,7 @@ laconic-so deployment --dir testnet-laconicd-deployment start
```bash ```bash
# Note: # Note:
# Edit the staking amount and other fields as required
# Replace <your-node-moniker> with your node's moniker in command below # Replace <your-node-moniker> with your node's moniker in command below
laconic-so deployment --dir testnet-laconicd-deployment exec laconicd 'cat <<EOF > <your-node-moniker>-validator.json laconic-so deployment --dir testnet-laconicd-deployment exec laconicd 'cat <<EOF > <your-node-moniker>-validator.json