Using code
Testnet environment setup for pando network protocol
Connect to the Testnet
Pando Lab maintains a testnet environment that resembles the mainnet to facilitate partner development and testing. To connect to the testnet, open a terminal, and follow the steps below.
Step 1- Go Environment
First, we need Setup Go environment
a system, please refer to our respective documentation for the same.
Step 2. Setup
Follow the instructions in Setup and Installation to build and install the Pando Blockchain node. Make sure you are compiling the latest code
inside, as mentioned in the special notes. Next, execute the following commands to set up the environment.
cd $PANDO_HOME
mkdir ../testnet
cp -r ./integration/testnet/node ../testnet
Step 3 - Snapshot
In this step, we need to download and place a snapshot in the following directory
$homedir/integration/testnet/node
To download the latest snapshot of testnet we need to enter the following command
wget https://testnetblockchainupdates.s3.ap-southeast-1.amazonaws.com/snapshot
To download the config file of testnet we need to enter the following command
wget https://testnetblockchainupdates.s3.ap-southeast-1.amazonaws.com/config.yaml
Step 4. Launch and connect to the testnet
Start a new session, and use the following commands to launch a node and connect to the pando network testnet. It may take some time to download the blockchain data to be in sync with the network.
Shell
pando start --config=../testnet/node
Last updated