Skip to content

NetworkStake/Casper-AutoUpgrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This guide is prepared for the test network. Different configurations may be required for the Mainnet.

Install Python3:

sudo apt-get update
sudo apt-get install python3

Create the project folder and move into it:

mkdir casper-upgrade
cd casper-upgrade

Create the .env file and enter NODE_IP address:

echo "NODE_IP=<node_ip_address>" > .env

  • Note: Replace <node_ip_address> with your own node IP address.

Download and run the get_peers.py file:

wget https://raw.githubusercontent.com/NetworkStake/Casper-AutoUpgrade/main/get_peers.py
python3 get_peers.py

  • This command will create a file named peers.json.

Download and run the upgrade.py file:

wget https://raw.githubusercontent.com/NetworkStake/Casper-AutoUpgrade/main/upgrade.py
python3 upgrade.py

  • This command will check the version of other peers and automatically update if necessary.

  • The upgrade.py file uses the peers.json file to check the versions of other peers. You don't need to update this file manually. The file is automatically updated by get_peers.py.

  • When you follow these steps, the upgrade.py file will check the versions of other peers and automatically update if necessary.

About

Casper Peer Version Control

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages