Update README steps for demo
This commit is contained in:
parent
1bca048577
commit
96ce72e6ea
14
docs/demo.md
14
docs/demo.md
@ -10,11 +10,11 @@
|
||||
cargo install tmkms --features=softsign --version=0.14.0
|
||||
```
|
||||
- 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
|
||||
|
||||
- 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:
|
||||
|
||||
@ -22,6 +22,14 @@
|
||||
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
|
||||
|
||||
```bash
|
||||
@ -32,7 +40,7 @@
|
||||
|
||||
```bash
|
||||
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
|
||||
export EARLY_SUPPORTS_ACC_ADDR=laconic1gwytamfk3m5n0gsawh5vpwxkwd3vapmvzpp6nz
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
- [ansible](playbooks/README.md#ansible-installation)
|
||||
- [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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user