Mainnet Metatron Setup

Pando Blockchain Setup and Installation guide for Metatron setup for Win , Mac and Linux

Step 1

sudo apt-get update && sudo apt-get install wget git curl net-tools build-essential make -y
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.17.4.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.profile
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
echo 'export PANDO_HOME=/usr/local/go/src/' >> ~/.bashrc
echo 'export PANDO_HOME=/usr/local/go/src/' >> ~/.profile
source ~/.bashrc && source ~/.profile

Step 2

mkdir -p /usr/local/go/src/ && cd /usr/local/go/src/
git clone
mv pando-network-protocol pando

Note: Code is there on main branch so it can be clone directly without switching any branch using github


Step 2 - [Build and install]

(A) This should build the binaries and copy them into your $GOPATH/bin. Two binaries pando and pandocli are generated. pando can be regarded as the launcher of the Pando Ledger node, and pandocli is a wallet with command line tools to interact with the ledger.

export GO111MODULE=on
make install

* Notes for Linux binary compilation

The build and install process on Linux is similar, but note that Ubuntu 18.04.4 LTS / Centos 8 or higher version is required for the compilation.

* Notes for Windows binary compilation

The Windows binary can be cross-compiled from macOS. To cross-compile a Windows binary, first make sure mingw64 is installed (brew install mingw-w64) on your macOS. Then you can cross-compile the Windows binary with the following command:

make exe

You'll also need to place three .dll files libgcc_s_seh-1.dll, libstdc++-6.dll, libwinpthread-1.dll under the same folder as pando.exe and pandocli.exe.

Step 3 - Run unit test

Run unit tests with the command below

make test_unit

Step 4- Launch Mainnet

Open a terminal to launch the mainnet(Chain Id: pandonet). For the first time, follow the setup steps below.

cp -r ./integration/pandonet ../pandonet
mkdir ~/.pandocli
chmod 700 ~/.pandocli
export PATH=$PATH:/usr/local/go/bin && make install

And then, use the following command to launch a pandonet . For this you can use tmux or any other tools to run your node service in the background.

/usr/local/go/bin/pando start --config=../pandonet/node

When the prompt asks for a password, enter your required password here.

Note – { Your binary directory path } denotes path where pando and pandocli binary exist or created while running after make install command.

And then after run the following command to launch rpc of the node in another session.

/{ Your binary directory path }/pandocli daemon start --port=16889

And to get the details of node for further process, run the below command -

cd { Your binary directory path }
./pandocli query metatron


This command will give you following information about the metatron node life node summary which is needed for staking process to make node active

Example:{"Address": "0x8f3B...E819",

"BlsPubkey": "a1225b...16ebe",

"BlsPop": "b49fd2a...d025c",

"Signature": "14deb5e...52500",

"Summary": "0x8f3Bc...952500"}

Use Summary key data for the metatron staking from the web wallet.

Re-installation and withdrawal of the Node

Steps to stake and make Metatron node Active

  • Copy summary from here and go to web wallet

  • Choose staking option and select metatron

  • Add copied node summary and stake value more than 10000 PTX to make metatron active

  • Once done switch back to cli on node now you can see node is active and working on finalizing and verifying the blockchain

  • Use ./pandocli query status to check syncing status and staking and balance

  • Same can be verify on explorer just copy address key and paste on explorer and now you can see staking value and in node tab also can see metatron listed there

In case of Panic Error

Run following command

rm -rf $homedir/pandonet/node/db
rm -rf $homedir/pandonet/node/snapshot
Download latest snapshot
Restart the node again 

And rerun the chain with above give process with run node command

/usr/local/go/bin/pando start --config=../pandonet/node

After this let your node sync with blockchain for sometime and put it in observation, once it reaches to current block it will work without any issue till then it needs to be observed.

To change to MT Node Password

1. Switch to the below directory.


2. Download the key which is in the above directory on your local.

3. Then, login to the wallet application.

  • ( with the same key and node password.

4. After logged in to the wallet application , switch to the setting tab and reset your password.

5. Then, upload the new key generated from the wallet application to the same server directory and replace it with the new key and run the below-mentioned command.

mv {key}.keystore {key}

6. Now, switch to the directory and run the following command.

cd /usr/local/go/src/
make install

7. After the successful compilation of code, you need to go to the background process where the node is running. Terminate the process and run the command with a new password.

Last updated

Contact Us:

On Discord

© Copyright 2022 Pandolab Pte Ltd. All rights reserved.