Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
If you want to switch your node to MainNet, TestNet, or RegTest mode:
- If necessary (your node is not in localhost), connect your computer to the node using bash.
- For RegTest:
sudo service rsk stop cd /etc/rsk sudo rm -f node.conf sudo ln -s regtest.conf node.conf sudo service rsk start
Using this network, it allows you to start with some wallets (accounts) on your node. These wallets have funds.
- For TestNet:
sudo service rsk stop cd /etc/rsk sudo rm -f node.conf sudo ln -s testnet.conf node.conf sudo service rsk start
- For MainNet
sudo service rsk stop cd /etc/rsk sudo rm -f node.conf sudo ln -s mainnet.conf node.conf sudo service rsk start
Running these instructions in bash, you are:
- Stopping RSK service in Azure,
- Moving to RSK configuration folder (
node.conf, that is a symbolic link to the configuration you're using (
node.confwith the configuration file you decide (
-soption, it makes symbolic -or soft- links). The node is configured to read directly from the
- Restarting the service.