Support for custom chain ID in stack
This commit is contained in:
parent
cea625c54c
commit
6a57d12137
@ -102,6 +102,9 @@
|
||||
|
||||
# A custom human readable name for this node
|
||||
MONIKER=LaconicStage0
|
||||
|
||||
# Chain ID of the network
|
||||
CHAINID=loro-testnet-0
|
||||
EOF
|
||||
```
|
||||
|
||||
@ -227,6 +230,8 @@
|
||||
|
||||
cat <<EOF > laconic-faucet-deployment/config.env
|
||||
CERC_FAUCET_KEY=$FAUCET_ACCOUNT_PK
|
||||
|
||||
CERC_LACONICD_CHAIN_ID=loro-testnet-0
|
||||
EOF
|
||||
```
|
||||
|
||||
@ -352,6 +357,8 @@
|
||||
CERC_FAUCET_ENDPOINT="https://faucet.laconic.com"
|
||||
|
||||
CERC_WALLET_META_URL="https://loro-signup.laconic.com"
|
||||
|
||||
CERC_LACONICD_CHAIN_ID=loro-testnet-0
|
||||
EOF
|
||||
```
|
||||
|
||||
@ -547,6 +554,8 @@
|
||||
AUTHORITY_GRACE_PERIOD=7200
|
||||
|
||||
MONIKER=LaconicStage1
|
||||
|
||||
CHAINID=loro-testnet-1
|
||||
EOF
|
||||
```
|
||||
|
||||
|
@ -49,7 +49,7 @@ Once all the participants have completed their onboarding, stage0 laconicd chain
|
||||
# Generate the genesis file
|
||||
# Participant allocation: 1000000000000 (10^12)
|
||||
# Validator allocation: 2000000000000000 (10^15)
|
||||
./scripts/generate-stage1-genesis-using-allocations.sh $DEPLOYMENTS_DIR/stage0-deployment 1000000000000 2000000000000000
|
||||
CHAINID=loro-testnet-1 MONIKER=LaconicStage1 ./scripts/generate-stage1-genesis-using-allocations.sh $DEPLOYMENTS_DIR/stage0-deployment 1000000000000 2000000000000000
|
||||
|
||||
# Expected output:
|
||||
# Genesis file for stage1 written to output/genesis.json
|
||||
@ -69,6 +69,18 @@ Once all the participants have completed their onboarding, stage0 laconicd chain
|
||||
cp ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd/output/genesis.json stage1-deployment/data/genesis-config/genesis.json
|
||||
```
|
||||
|
||||
* Update testnet-onboarding-app deployment
|
||||
* Change chain ID in `/srv/app/onboarding-app-deployment/config.env`
|
||||
```bash
|
||||
CERC_LACONICD_CHAIN_ID=loro-testnet-1
|
||||
```
|
||||
* Restart the container
|
||||
```
|
||||
laconic-so deployment --dir onboarding-app-deployment stop
|
||||
|
||||
laconic-so deployment --dir onboarding-app-deployment start
|
||||
```
|
||||
|
||||
* Start the stage1 deployment:
|
||||
|
||||
```bash
|
||||
|
@ -5,6 +5,16 @@
|
||||
* Visit <https://wallet.laconic.com/> and click on `Create wallet`
|
||||
* Save the mnemonic for further usage
|
||||
|
||||
* Add a new network for stage0 laconicd by clicking on `Add Network`
|
||||
* Change network type to `COSMOS`
|
||||
* Set Chain ID to `loro-testnet-0`
|
||||
* Set Network Name to `LOROTestnet0`
|
||||
* Set New RPC URL to `https://laconcid.laconic.com`
|
||||
* Set Coin Type to `118`
|
||||
* Set Native Denom to `alnt`
|
||||
* Set Address Prefix to `laconic`
|
||||
* Set Gas Price to `1`
|
||||
|
||||
* Register your laconic address as a participant using the [Onboarding App](https://loro-signup.laconic.com)
|
||||
|
||||
* Read and accept the `Terms and Conditions`
|
||||
@ -172,6 +182,15 @@ laconic-so deployment --dir testnet-laconicd-deployment start
|
||||
### Join as testnet validator
|
||||
|
||||
* Open the wallet: <https://wallet.laconic.com/>
|
||||
* Add a new network for stage1 laconicd by clicking on `Add Network`
|
||||
* Change network type to `COSMOS`
|
||||
* Set Chain ID to `loro-testnet-1`
|
||||
* Set Network Name to `LOROTestnet1`
|
||||
* Set New RPC URL to `https://laconcid.laconic.com`
|
||||
* Set Coin Type to `118`
|
||||
* Set Native Denom to `alnt`
|
||||
* Set Address Prefix to `laconic`
|
||||
* Set Gas Price to `1`
|
||||
|
||||
* Create a validator from the onboarding app:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user