Comment on page
Please follow the below step.
Step 1: Install Go and set environment variables GOPATH , GOBIN, and PATH. The current code base should compile with Go 1.17.4 on a Linux like system (i.e. Ubuntu, Mac OS X). Below are the steps to install Go 1.17.4 and setup the environments on Ubuntu.
sudo apt-get update && sudo apt-get install wget git curl net-tools build-essential make -y
sudo apt-get install build-essential
sudo apt-get install gcc
sudo apt-get install make
sudo apt-get install git
sudo apt-get install -y bzr
sudo apt-get install jq
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/github.com/pandoprojects/pando' >> ~/.bashrc
echo 'export PANDO_HOME=/usr/local/go/src/github.com/pandoprojects/pando' >> ~/.profile
source ~/.bashrc && source ~/.profile
Step 2: Next, Setup Metatron, local working directory & clone the release branch of the Pando Ledger repo
mkdir -p /usr/local/go/src/github.com/pandoprojects/ && cd /usr/local/go/src/github.com/pandoprojects/
git clone https://github.com/pandoprojects/pando-network-protocol.git pando
Note: Code is there on main branch so it can be clone directly without switching any branch using github
Change working directory
(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.
Make sure you are in pando home directory- cd $PANDO_HOME
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.
Run unit tests with the command below
Please click on below link and refer our documentation for the same.
- 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
Pando Lab maintains a testnet environment that resembles the mainnet to facilitate partner development and testing. Please click on below link and refer our documentation for the same.
Pando Lab maintains a mainnet environment for production release products on pando network. Pando network uses chain id as pandonet for mainnet. Please click on below link and refer our documentation for the same.