Add a script to generate genesis file using given allocation amounts #10
@ -7,6 +7,7 @@ services:
|
||||
TEST_AUCTION_ENABLED: ${TEST_AUCTION_ENABLED:-false}
|
||||
TEST_REGISTRY_EXPIRY: ${TEST_REGISTRY_EXPIRY:-false}
|
||||
ONBOARDING_ENABLED: ${ONBOARDING_ENABLED:-false}
|
||||
STAKING_AMOUNT: ${STAKING_AMOUNT:-1000000000000000}
|
||||
GENESIS_FILE: /var/tmp/genesis.json
|
||||
volumes:
|
||||
- laconicd-data:/root/.laconicd
|
||||
|
@ -96,9 +96,11 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso
|
||||
```bash
|
||||
# Optional
|
||||
|
||||
# Set to true to enable adding participants functionality of the onboarding module
|
||||
# (default: false)
|
||||
# Set to true to enable adding participants functionality of the onboarding module (default: false)
|
||||
ONBOARDING_ENABLED=
|
||||
|
||||
# Staking amount to use for the default validator account (default: 1000000000000000)
|
||||
STAKING_AMOUNT=
|
||||
```
|
||||
|
||||
* Inside the `laconic-console-deployment` deployment directory, open `config.env` file and set following env variables:
|
||||
|
@ -7,6 +7,7 @@ set -u
|
||||
# Check args
|
||||
if [ "$#" -ne 3 ]; then
|
||||
echo "Usage: $0 <stage0-deployment-dir-absolute> <participant-allocation> <validator-allocation>"
|
||||
echo "Example: $0 /home/user/stage0-deployment 1000000 1000000000000"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user