Update CLI config after creating account and bond

This commit is contained in:
Prathamesh Musale 2024-06-21 10:03:52 +05:30
parent 8b28a3303c
commit a915c6f8ba
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster # Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster
ARG VARIANT=18-bullseye ARG VARIANT=18-bullseye
FROM node:${VARIANT} FROM node:${VARIANT}

View File

@ -125,11 +125,19 @@ Instructions for running a laconicd testnet full node and joining as a validator
* 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:
```bash ```bash
# All optional
# CLI configuration # CLI configuration
# laconicd chain id (default: laconic_9000-1) # laconicd chain id (default: laconic_9000-1)
CERC_LACONICD_CHAIN_ID= CERC_LACONICD_CHAIN_ID=
# laconicd user private key for txs
CERC_LACONICD_USER_KEY=
# laconicd bond id for txs
CERC_LACONICD_BOND_ID=
# Gas limit for txs (default: 200000) # Gas limit for txs (default: 200000)
CERC_LACONICD_GAS= CERC_LACONICD_GAS=
@ -249,6 +257,7 @@ laconic-so deployment --dir laconic-console-deployment start
laconic-so deployment --dir laconic-console-deployment exec cli "nano config.yml" laconic-so deployment --dir laconic-console-deployment exec cli "nano config.yml"
# Note: any changes made to the config will be lost when the cli Docker container is brought down # Note: any changes made to the config will be lost when the cli Docker container is brought down
# So set / update the values in 'laconic-console-deployment/config.env' accordingly before restarting
``` ```
* Adjust / set other config values (`bondId`, `gas`, `fees`) as required and perform txs: * Adjust / set other config values (`bondId`, `gas`, `fees`) as required and perform txs: