πSwitching Network
Switching network algorand node from mainnet to testnet.
In this step you need to switch the default network (mainnet) to testnet. If your algorand already in testnet network, you just skip all of this step and go to next step (Fast Sync).
Stop the algorand service
sudo systemctl stop algorand
Go to directory
cd /var/lib/algorand/genesis/testnet
Copy the testnet genesis
sudo cp genesis.json /var/lib/algorand/
Start Node
Start the node to make sure you're already switched in testnet.
sudo systemctl start algorand
Check your node after start the service.
goal node status -d /var/lib/algorand
Here is the result if you're already set up to testnet.

Last updated
Was this helpful?