Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #127 from bandprotocol/gas-price-mainnet
Browse files Browse the repository at this point in the history
Add command to setup minimum-gas-prices
  • Loading branch information
babybunn authored Feb 9, 2023
2 parents f407036 + 9736d2b commit 326e75d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/joining-networks/joining-mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

1 comment on commit 326e75d

@vercel
Copy link

@vercel vercel bot commented on 326e75d Feb 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.