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
  • Save smiled0g/776adeb17ef48934d2e70c1d3944548f to your computer and use it in GitHub Desktop.
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 = \"[email protected]:26656,[email protected]:26656\"/' \
$HOME/.bandd/config/config.toml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment