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