How to stake AssetMantle tokens ($MNTL)
AssetMantle is a community-first platform for NFT creators and collectors. Use AssetMantle to create your own NFT store or to expand your collection.
The current guide shows how to staking using CLI(Console app)
Step 1: Install Go
Follow the commands below to install:
cd $HOME
sudo apt update
sudo apt install make clang pkg-config libssl-dev build-essential git jq ncdu bsdmainutils htop net-tools lsof fail2ban -y < "/dev/null"
wget -c -O go1.17.linux-amd64.tar.gz https://go.dev/dl/go1.17.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.17.linux-amd64.tar.gz && sudo rm go1.17.linux-amd64.tar.gz
echo 'export GOROOT=/usr/local/go' >> $HOME/.bash_profile
echo 'export GOPATH=$HOME/go' >> $HOME/.bash_profile
echo 'export GO111MODULE=on' >> $HOME/.bash_profile
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile && . $HOME/.bash_profile
sudo cp $(which go) /usr/local/bin
go version
Step 2. Build client
git clone https://github.com/AssetMantle/node.git
cd node
git checkout 5b2b0dcb37b107b0e0c1eaf9e907aa9f1a1992d9
make install
Step 3. Add your wallet
You can import the existing wallet from the mnemonics you have by using the following commands:
mantleNode keys add wallet --recover
then enter the mnemonic and set the password to the wallet.
Step 4. Choose the amount to stake
You should decide the amount you want to leave unbonded, to do this run the following commands
MANTLE_AMOUNT=$(mantleNode q bank balances $(mantleNode keys show wallet -a) --node https://rpc-1.assetmantle.nodes.guru:443 -o json | jq .balances[].amount | sed 's/\"//g')
By default 1 MNTL remains unbonded.
Enter the password for the wallet you set earlier.
MANTLE_SAVED_AMOUNT=1000000 # 1 MNTL
MANTLE_DELEGATE_AMOUNT=$(($MANTLE_AMOUNT-$MANTLE_SAVED_AMOUNT))
If you want to check the remain unboned:
echo $MANTLE_SAVED_AMOUNT
Then final, run this command to stake:
mantleNode tx staking delegate mantlevaloper1gazfeg04x85xj58q9wherpl0kswad8thanes3n "$MANTLE_DELEGATE_AMOUNT"umntl --from wallet --chain-id mantle-1 --node "https://rpc-1.assetmantle.nodes.guru:443"
Helpful Links: