Last active
December 16, 2020 07:32
-
-
Save taobun/8f014625735d30352ec6d12f4f2eb177 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download genesis file from the repository. | |
wget https://raw.githubusercontent.com/bandprotocol/launch/master/band-guanyu-mainnet/genesis.json | |
# Check genesis hash | |
sudo apt-get install jq | |
jq -S -c -M '' genesis.json | shasum -a 256 | |
# It should get this hash | |
9673376e8416d1e7fc87d271b8a9e5e3d3ce78a076b0d907d87c782bb0320e30 - | |
# 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 = \"68984b341fbf9809a991c72cfe32fbc87553583c@35.198.219.75:26656,ba227966e96506acd5d0110af3a2d4462d96ad31@34.86.22.219:26656,8a9ef0d45c84a5f0f97764e6f9f7606cdd8e9ff8@35.198.224.241:26656,71341cc638a0a72e72b0409b04a5d02c01057336@34.64.236.244:26656,90f3cf88314a212d1c819c58fd09ff0ccba733cd@104.155.54.168:26656,7915e2215268e9c0028218132e22fffc09e3e265@35.190.145.167:26656,924a8094846222e14c7b86bfb42c0ddfd93cc6d1@gyms1.bandchain.org:26656,4c0b2cadc5ec7de90379b4a8fb7e19c252c7e565@gyms2.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