Skip to content

Instantly share code, notes, and snippets.

@sorawit
Last active June 11, 2020 08:20
Show Gist options
  • Save sorawit/18e395af83275b3a48ee0a1f8cfa4811 to your computer and use it in GitHub Desktop.
Save sorawit/18e395af83275b3a48ee0a1f8cfa4811 to your computer and use it in GitHub Desktop.
# Download genesis file from the repository.
wget https://raw.githubusercontent.com/bandprotocol/launch/master/band-wenchang-testnet2/genesis.json
# Move the genesis file to the proper location
mv genesis.json $HOME/.bandd/config
# OPTIONAL: Set minimum gas price to 0.005uband
# sed -E -i \
# 's/minimum-gas-prices = \".*\"/minimum-gas-prices = \"0.005uband\"/' \
# $HOME/.bandd/config/app.toml
# Add some persistent peers
sed -E -i \
's/persistent_peers = \".*\"/persistent_peers = \"cf65f9b5f290e3eef62dbf721397bc2e3fd47ecd@wenchang-testnet2-alice.node.bandchain.org:26656,c5d042cca13c34ee5318a4e5fc49dd7950f0a1da@wenchang-testnet2-bob.node.bandchain.org:26656\"/' \
$HOME/.bandd/config/config.toml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment