posthuman - nodes
MANTRA Chain
MANTRA Chain websiteMANTRA Chain githubMANTRA Chain twitter

MANTRA Chain

type:
mainnet
chain id:
mantra-1
rpc:
https://rpc-mantra.posthuman.digital:443
rest:
https://rest-mantra.posthuman.digital:443
grpc:
https://grpc-mantra.posthuman.digital:443
peer:
4b347588da9d7c6916f902139ae019ad4edcebe0@135.181.227.236:57656
snapshots:
https://snapshots-mantra.posthuman.digital:443
  • installation guide
  • snapshots
  • links

Update system and install build tools

Ensure your system is up to date and has all the necessary tools for the installation:

sudo apt update && sudo apt upgrade -y sudo apt install -y curl tar wget clang pkg-config libssl-dev jq build-essential \ bsdmainutils git make ncdu gcc chrony liblz4-tool

Install Go (if needed)

cd "$HOME" if ! command -v go >/dev/null 2>&1; then VER="1.24.1" wget "https://golang.org/dl/go${VER}.linux-amd64.tar.gz" sudo rm -rf /usr/local/go sudo tar -C /usr/local -xzf "go${VER}.linux-amd64.tar.gz" rm "go${VER}.linux-amd64.tar.gz" fi [ -d "$HOME/go/bin" ] || mkdir -p "$HOME/go/bin" if ! grep -q "/usr/local/go/bin" "$HOME/.bash_profile" 2>/dev/null; then echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> "$HOME/.bash_profile" fi source "$HOME/.bash_profile" 2>/dev/null || true go version

Install node

cd "$HOME" REPO_DIR=$(basename https://github.com/MANTRA-Chain/mantrachain .git) rm -rf "$REPO_DIR" git clone https://github.com/MANTRA-Chain/mantrachain cd "$REPO_DIR" VERSION="v8.3.0" git checkout "tags/$VERSION" make build make install mantrachaind version

Initialize Node

Replace <node_name> with your moniker.

mantrachaind init <node_name> --chain-id "mantra-1"

Download genesis.json

curl -Ls https://raw.githubusercontent.com/MANTRA-Chain/net/refs/heads/main/mantra-1/genesis.json > "$HOME/.mantrachain/config/genesis.json"

Download addrbook.json

curl -Ls https://snapshots-mantra.posthuman.digital/addrbook.json > "$HOME/.mantrachain/config/addrbook.json"

Create systemd service

NODE_USER=$(whoami) sudo tee /etc/systemd/system/mantrachaind.service > /dev/null <<EOF [Unit] Description=mantrachaind daemon After=network-online.target [Service] User=${NODE_USER} ExecStart=$(which mantrachaind) start Restart=always RestartSec=3 LimitNOFILE=65535 [Install] WantedBy=multi-user.target EOF
sudo systemctl daemon-reload sudo systemctl enable mantrachaind.service sudo systemctl start mantrachaind.service

Sync the node

Synchronize the node using a network-approved method. When a snapshot guide is available on this page, follow its preflight, backup, restore, and verification steps.

Start service

sudo systemctl enable mantrachaind.service && sudo systemctl start mantrachaind.service && journalctl -u mantrachaind.service -f