Time to read: 1 min
Switch network
If you want to switch your node to Mainnet, Testnet, or RegTest networks:
1. If your node is not in localhost, connect your computer to the node over ssh.
ssh user@server
2. Pick a network that you would like to connect to.
Regtest
In order to switch from another network to 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.
Testnet
In order to switch from another network to Testnet:
sudo service rsk stop
cd /etc/rsk
sudo rm -f node.conf
sudo ln -s testnet.conf node.conf
sudo service rsk start