Pando Project
About UsWallet & ExplorerGitHub
  • Pandoproject -Documentations
  • Whitepaper
  • Pando Network Testament
  • Blockchain Integration
    • Mainnet v4.0-2.0 Code
    • Mainnet v1.0 Code
    • Command Line Tool
    • Connect to the Mainnet
      • Using Pre-Compiled Binaries
      • Using Code
    • Connect to the Testnet
      • Using Pre-Compiled Binaries
      • Using code
    • Launch a Local Private Net
    • Configuration
  • APIs
    • Tx Api
    • RPC API Reference
    • Pando CLI APIs
    • PNC 20 Protocol
    • PNC721- Protocol
  • Pando Nodes
    • Zytatron Node
    • Metatron Node
    • Rametron Overview
    • Mainnet Metatron Setup
    • To Migrate Metatron/Zytatron
  • Rametron Overview
    • Rametron Lite
    • Rametron Mobile
    • Rametron Pro
    • Rametron Ent
  • How to Stake ?
    • Stake for RT Lite
    • Stake for RT Mobile
    • Stake for RTPro
    • Stake for RTE
  • Wallet Application
    • Web Wallet Overview
    • Connect to Metamask
    • Wallet Code- Frontend
    • Wallet Code- Backend
    • Wallet API Reference
    • Explorer Overview
  • Explorer Application
    • Explorer Node- Frontend
    • Explorer Code- Backend
    • Explorer API Reference
  • Connect to Metamask
  • Smart Contracts
    • Ethereum RPC API support
    • Deployment fees
    • PNC-20
      • PNC20 Code
      • PNC20 API Reference
    • PNC-721
      • PNC721 Code
      • PNC721 API Reference
  • Docker Implementation
  • Videos
  • Frequently Asked Question
    • Upgrade Chain to Mainnet 4.0
    • To Resolve The Block Height Issue
  • Developer Community Engagement
Powered by GitBook
On this page
  • Connect to the Mainnet
  • Step 1- Go Environment
  • Step 2. Setup
  • Step 3 - Snapshot
  • Step 4. Launch and connect to the testnet
  1. Blockchain Integration
  2. Connect to the Mainnet

Using Code

Mainnet environment setup for pando network protocol

PreviousUsing Pre-Compiled BinariesNextConnect to the Testnet

Last updated 1 year ago

Connect to the Mainnet

Pando Lab maintains a mainnet environment for production release products on pando network. Pando network uses chain id as pandonet for mainnet

To connect to the mainnet, open a terminal, and follow the steps below.

Step 1- Go Environment

First, we need a system, please refer to our respective documentation for the same.

Step 2. Setup

Follow the instructions in to build and install the Pando Blockchain node. Make sure you are compiling the latest code inside, as mentioned in the Next, execute the following commands to set up the environment.

cd $PANDO_HOME
mkdir ../pandonet
cp -r ./integration/pandonet/node ../pandonet

Step 3 - Snapshot

In this step, we need to download and place a snapshot in the following directory

$homedir/integration/pandonet/node

To download the latest snapshot of mainnet we need to enter the following command

wget https://blockchainupdates.s3.ap-southeast-1.amazonaws.com/snapshot

To download the config file of Mainnet we need to enter the following command

wget https://blockchainupdates.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 mainnet. It may take some time to download the blockchain data to be in sync with the network.

Shell

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

Note: when the mainnet Pando Node is launched for the first time, you need to choose a password to generate an address for the node. Please choose a secure password and keep it in a safe place. The next time when you launch the node again, you will need the password to unlock it.

Setup Go environment
Setup and Installation
special notes.