Steps To Upgrade The Chain
1. Login and switch to the node directory.
cd /usr/local/go/src/github.com/scripttoken/script
2. Pull the latest code from repository and check the branch to be main only.
git branch
git checkout main
git pull
3. Compilation of the code
cd /usr/local/go/src/github.com/scripttoken/script
make install
4. Run the code
Terminate the running blockchain node in background process whether it is in tmux, nohup, sceen, pm2 or other.
cd /usr/local/go/src/github.com/scripttoken/script
Run, /usr/local/go/bin/script start --config=../scriptnet/node
Enter the password and start the node.
Last updated
Was this helpful?