For the complete documentation index, see llms.txt. This page is also available as Markdown.

⚒️Installation

  1. Update packages and install useful tools.

sudo apt update && sudo apt upgrade --yes && \
sudo apt install git build-essential ufw curl jq snapd screen ncdu nano fuse ufw --yes
  1. Install go using snap.

sudo snap install go --classic && \
echo 'export GOPATH="$HOME/go"' >> ~/.profile && \
echo 'export GOBIN="$GOPATH/bin"' >> ~/.profile && \
echo 'export PATH="$GOBIN:$PATH"' >> ~/.profile && \
source ~/.profile && \
go version
  1. Build the binary from source.

git clone https://github.com/AssetMantle/node
cd node
git checkout v1.0.1
make install
mantleNode version
  1. Initialize your node.

mantleNode init <node_name> --chain-id mantle-1
  1. Download genesis.

curl https://raw.githubusercontent.com/AssetMantle/genesisTransactions/main/mantle-1/final_genesis.json > $HOME/.mantleNode/config/genesis.json
  1. Add seeds and persistent peers to config.toml.

  1. Set up minimum gas price.

  1. Set up pruning (optional).

  1. Create service file.

  1. Enable and start service.

If you would like to speed up the sync process, you may try using State Sync.

Last updated