From 9736d2b7244a7164f3e0e4ee3d0eb9e0ff2cb4ae Mon Sep 17 00:00:00 2001 From: Kitipong Sirirueangsakul Date: Mon, 6 Feb 2023 12:06:06 +0700 Subject: [PATCH] add command to setup minimum-gas-prices --- docs/joining-networks/joining-mainnet.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/joining-networks/joining-mainnet.md b/docs/joining-networks/joining-mainnet.md index a0101d7..915b881 100644 --- a/docs/joining-networks/joining-mainnet.md +++ b/docs/joining-networks/joining-mainnet.md @@ -111,9 +111,12 @@ wget -qO- $BIN_FILES_URL | tar xvz -C $HOME/.band/ bandd keys add $WALLET_NAME ``` -### Step 4: Setup seeds or persistence peers +### Step 4: Node configuration +This can be done by editing fields in `$HOME/.band/config/config.toml` and `$HOME/.band/config/app.toml`. -This can be done by editing `seeds` or `persistent_peers` property in `$HOME/.band/config/config.toml`. Please see [here](https://github.com/bandprotocol/launch/tree/master/laozi-mainnet) for the list of seeds and peers. +For a list of seeds and peers, please see [here](https://github.com/bandprotocol/launch/tree/master/laozi-mainnet). + +For minimum-gas-prices, you can set any number but the recommendation is 0.0025uband (according to [this proposal](https://www.cosmoscan.io/proposal/10)). ```bash # List of seeds and persistent peers you want to add @@ -129,6 +132,11 @@ sed -E -i \ sed -E -i \ "s/persistent_peers = \".*\"/persistent_peers = \"${PERSISTENT_PEERS}\"/" \ $HOME/.band/config/config.toml + +# Add minimum gas price +sed -E -i \ + "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.0025uband\"/" \ + $HOME/.band/config/app.toml ``` ## Setup Cosmovisor