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-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 |
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
# Create a new Band wallet. Do not lose your mnemonic! | |
bandcli keys add [[YOUR_WALLET]] | |
# Initialize a blockchain environment for generating genesis transaction. | |
bandd init --chain-id band-wenchang-mainnet [[YOUR_MONIKER]] |
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
# Install bandd, change its permission, and move to /usr/local/bin | |
wget -O bandd https://github.com/bandprotocol/bandchain/releases/download/v0.2.4/bandd_linux_amd64 | |
chmod +x bandd | |
sudo mv bandd /usr/local/bin | |
# Install bandcli, change its permission, and move to /usr/local/bin | |
wget -O bandcli https://github.com/bandprotocol/bandchain/releases/download/v0.2.4/bandcli_linux_amd64 | |
chmod +x bandcli | |
sudo mv bandcli /usr/local/bin |