Installation
Manual Installation
Install binary
mkdir bin
cd bin
source ~/.profile
wget https://github.com/MANTRA-Finance/public/raw/main/mantrachain-hongbai/mantrachaind-linux-amd64.zip
unzip mantrachaind-linux-amd64.zip
rm -rf mantrachaind-linux-amd64.zipInstall cosmwasm library
More information can be found in here: https://github.com/CosmWasm/wasmvm
sudo wget -P /usr/lib https://github.com/CosmWasm/wasmvm/releases/download/v1.3.1/libwasmvm.x86_64.soInitialise node
mantrachaind init <your-moniker> --chain-id mantra-hongbai-1where
<your-moniker>is the moniker and can be any valid string name (e.g.val-01),and
mantra-hongbai-1is the Chain ID and must be exactly as specified.
Download "genesis.json" - HONGBAI
Obtain the genesis.json for the MANTRA Hongbai Chain (Testnet).
Update the config.toml with the seed node and the peers for the MANTRA Hongbai Chain (Testnet).
Install Cosmovisor
cosmovisor is a process manager for Cosmos SDK application binaries that automates application binary switch at chain upgrades.
It polls the upgrade-info.json file that is created by the x/upgrade module at upgrade height, and then can automatically download the new binary, stop the current binary, switch from the old binary to the new one, and finally restart the node with the new binary.
Configure "mantrachaind" as a Service
The systemd service manager allows the mantrachaind binary to run as a service, instead of as a command-line application. (See https://systemd.io for more information.)
Starting, stoping and restarting service
Once started, the node will take some time to sync with the blockchain.
Visit https://explorer.hongbai.mantrachain.io/mantrachain to see the current height of the blockchain. Use the journalctl command to check on the node's progress.
⚙️Automatic Installation
You can visit our repository and follow the instruction there
Last updated
Was this helpful?