Metatron Node

Metatron Node Overview provides the instructions to launch and stake to a Metatron Node for the Pando Network.

Overview

In the Pando blockchain, Megatron Nodes propose and produce new blocks in the chain, while Metatron Nodes seal blocks and act as a check on malicious or otherwise non-functional Megatron Nodes. Metatron nodes play important roles to protect the security of the Pando blockchain as they form a second layer of defense against potential malicious attackers. Install and stake to your Metatron nodes to help secure the Pando blockchain!

This guide provides the instructions to launch and stake to a Metatron Node for the Pando Network.

The minimum token amount to stake is 10,000 PTX. The minimum hardware requirements are:

The requirements for a Metatron Node are as such:

Metatron Staking Process

Staking Through Web Wallet

Staking through Web Wallet the “Pando Wallet” logo, unlock your Pando wallet using your typical access method.

Access the Pando Web Wallet from your desktop/laptop. Under the “Pando Wallet” logo, unlock your Pando wallet using your typical access method (keystore, seed phrase, private key, etc.).

Once your wallet is unlocked, click the “Stakes” tab of the menu and click “Deposit Stake”, then click "Metatron Node"

In the Metatron Node Holder (Summary) field, enter the text string from your Metatron Cli Service. Enter the Amount of PTX you want to stake to this node and click “Deposit Stake". Note that you need to stake at least 10,000 PTX.

After reviewing your stake deposit info on the next screen, enter your wallet password, then click on "Deposit Stake". After the stake deposit transaction is confirmed, you can view your metatron deposit detail in dashbaord screen in "Stake" Tab.

Metatron Stake Withdrawal Process

To withdraw your staked tokens from the Metatron Node using either the Pando Web Wallet, click the "Stakes" tab, then the "Withdraw Stake" button.

On the next screen, select the "Metatron", need to click on "Continue" button. After clicking on continue this will ask to enter "Metatron Address" after entering this after clicking on "Withdraw Stake button"

Withdrawn stakes will be returned to your wallet address. In the "Stakes" section of your Pando wallet, you'll now see the stake's Withdrawn status has been changed to "Yes".

Metatron Node Configuration

Install/Launch and Stake to the Metatron Node through command line

Following are the instructions to install a Metatron Node on a Linux server through the command line.

Install the Metatron node

Please follow the instructions below to download the latest Linux binary and the necessary data. If you prefer to compile from the source code, please follow the steps here. If you are running the node on a Linux server, you'd need to run the node in a screen or tmux session, so that after you've logged off, the Pando node can continue to run.

1
sudo apt-get update && sudo apt-get install wget git curl net-tools build-essential make -y
2
sudo apt-get install build-essential
3
sudo apt-get install gcc
4
sudo apt-get install make
5
sudo apt-get install git
6
sudo apt-get install -y bzr
7
sudo apt-get install jq
8
wget https://go.dev/dl/go1.17.4.linux-amd64.tar.gz
9
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.17.4.linux-amd64.tar.gz
10
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.profile
11
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
12
echo 'export PANDO_HOME=/usr/local/go/src/github.com/pandotoken/pando' >> ~/.bashrc
13
echo 'export PANDO_HOME=/usr/local/go/src/github.com/pandotoken/pando' >> ~/.profile
14
source ~/.bashrc && source ~/.profile

Next, clone the release branch of the Pando Ledger repo https://github.com/Pandoproject/Blockchain-code.git into your $GOPATH with the following command. The path should look like this: $GOPATH/src/github.com/pandotoken/pando

$ git clone https://github.com/pandoprojects/pando-network-protocol.git
$GOPATH/src/github.com/pandoprojects/pando
$ export GO111MODULE=on
$ export GO111MODULE=onde
$ cd $PANDO_HOME
$ make install
$ cd $PANDO_HOME
$ cp -r ./integration/pandonet ../pandonet
$ mkdir ~/.pandocli
$ cp -r ./integration/pandonet/pandocli/* ~/.pandocli/
$ chmod 700 ~/.pandocli/keys/encrypted

Launch the metatron node

Now launch the Pando with the following commands.

$ pando start --config=../pandonet/node

NOTE: When the Pando node launches for the first time, you need to choose a password to encrypt the signing key of the metatron node. Please choose a secure password and keep it in a safe place. The next time when you restart the node, you will need the password to unlock it.

It might take some time for the node to sync up with the network (typically should be less than 10 minutes). To check if the node is already in-sync with the network, you can execute the following command in another console:

$ ./pandocli query status

The syncing field in the return indicates whether the node is still in the synchronization mode. If it is false, it means the node is already synced to the lastest block.

Stake to the metatron node

After the node is synced (i.e. syncing is false), we can proceed with staking to make it a full Metatron Node. First we'd need the "fingerprint" of this node. In another console, execute the following command

$ ./pandocli query metatron

The output should look something like this:

{

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

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

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

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

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

}

The summary part is the "fingerprint" we need for staking. Each metatron staking transaction requires at least 10,000 Pando tokens

Last updated

Contact Us:

On Discord

© Copyright 2022 Pandolab Pte Ltd. All rights reserved.