Upgrade Chain to Mainnet 4.0
Steps to Upgrade the Chain to Mainnet 4.0 if you are using code base
1. Login and switch to the node directory.
cd /usr/local/go/src/github.com/pandoprojects
cp -r pandonet ~/
backup and copy /pandonet folder to a safe location like the home directory
remove the old code base
cd /usr/local/go/src/github.com/pandoprojects
rm -rf /usr/local/go/src/github.com/pandoprojects/pando2. Take clone of Mainnet 4.0 repo from Github
git clone https://github.com/pandoprojects/pando-network-protocol.git pando 3. Compilation of the code
cd /usr/local/go/src/github.com/pandoprojects/pandomake install4. Switch to the pandonet directory
5. Remove another folder except key file(keep key folder very secure to avoid any asset loss)
6. To download the latest snapshot of mainnet we need to enter the following command
7. To download the config file of mainnet we need to enter the following command
8. Run the code
For any query feel free to reach out to us on Discord
Last updated
Was this helpful?