Skip to content

Instantly share code, notes, and snippets.

@smiled0g
Forked from sorawit/download_genesis.sh
Last active June 12, 2020 04:01
Show Gist options
  • Select an option

  • Save smiled0g/776adeb17ef48934d2e70c1d3944548f to your computer and use it in GitHub Desktop.

Select an option

Save smiled0g/776adeb17ef48934d2e70c1d3944548f 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-mainnet/genesis.json
# Move the genesis file to the proper location
mv genesis.json $HOME/.bandd/config
# Add some persistent peers
sed -E -i \
's/persistent_peers = \".*\"/persistent_peers = \"924a8094846222e14c7b86bfb42c0ddfd93cc6d1@wcms1.bandchain.org:26656,4c0b2cadc5ec7de90379b4a8fb7e19c252c7e565@wcms2.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