Blockchain Integration
Please follow the below step.
What's Inside
Setup Go environment
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.
Setup directory & Cloning
Step 2: Next, Setup Metatron, local working directory & clone the release branch of the Pando Ledger repo
Note: Code is there on main branch so it can be clone directly without switching any branch using github
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.
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 Test
Run unit tests with the command below
Launch a Local Private Net
Please click on below link and refer our documentation for the same.
Stake and make Metatron 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
Connect to Testnet
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.
Connect to Mainnet
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.
Contact us if facing any issue:
Email id- mailto:support@pandolab.io
Last updated