Update README steps for demo

This commit is contained in:
IshaVenikar 2025-06-03 18:20:29 +05:30
parent 1bca048577
commit 96ce72e6ea
2 changed files with 12 additions and 4 deletions

View File

@ -10,11 +10,11 @@
cargo install tmkms --features=softsign --version=0.14.0 cargo install tmkms --features=softsign --version=0.14.0
``` ```
- testnet-state.json ([exported testnet state](./run-first-validator.md#export-testnet-state)) - testnet-state.json ([exported testnet state](./run-first-validator.md#export-testnet-state))
- distribution.json (JSON containing the `lps_lockup` distribution) - LPS distribution spreadsheet URL or CSV file path
## Steps ## Steps
- In current working directory demo, keep exported `testnet-state.json` and `distribution.json` file from prerequisites - In current working directory demo, keep exported `testnet-state.json` file from prerequisites
- Fetch stack: - Fetch stack:
@ -22,6 +22,14 @@
laconic-so fetch-stack git.vdb.to/cerc-io/laconicd-stack --git-ssh --pull laconic-so fetch-stack git.vdb.to/cerc-io/laconicd-stack --git-ssh --pull
``` ```
- Generate LPS lockup distribution JSON file
```bash
~/cerc/laconicd-stack/scripts/generate-lps-lock.sh -i "<lps-distribution-spreadsheet-url-or-file-path>" -d "~/cerc/laconicd-stack/data"
```
- This will generate the `distribution.json` file
- Export current working directory - Export current working directory
```bash ```bash
@ -32,7 +40,7 @@
```bash ```bash
export EXPORTED_STATE_PATH=$CWD/testnet-state.json export EXPORTED_STATE_PATH=$CWD/testnet-state.json
export LPS_DISTRIBUTION_PATH=$CWD/distribution.json export LPS_DISTRIBUTION_PATH=~/cerc/laconicd-stack/data/distribution.json
# Test address that does not exist on testnet chain # Test address that does not exist on testnet chain
export EARLY_SUPPORTS_ACC_ADDR=laconic1gwytamfk3m5n0gsawh5vpwxkwd3vapmvzpp6nz export EARLY_SUPPORTS_ACC_ADDR=laconic1gwytamfk3m5n0gsawh5vpwxkwd3vapmvzpp6nz

View File

@ -4,7 +4,7 @@
- [ansible](playbooks/README.md#ansible-installation) - [ansible](playbooks/README.md#ansible-installation)
- [laconic-so](https://github.com/cerc-io/stack-orchestrator/?tab=readme-ov-file#install) - [laconic-so](https://github.com/cerc-io/stack-orchestrator/?tab=readme-ov-file#install)
- LPS distribution spreadsheet URL or csv file path - LPS distribution spreadsheet URL or CSV file path
## Export testnet state ## Export testnet state