Removing the Xerom node services and data is as simple as disabling the services and deleting the application data. When you disable the services, they still exist on your system but they are not executed upon reboot.
This guide assumes you installed the Xerom Node software as the Xero user. If you installed the software as a different user, adjust the instructions accordingly, specifically on the last step replace /xero/ with the username for your Xero user.
If you're using Unit/Frontier to manage your node, simply delete it within Unit/Frontier and proceed to the step which retrieves your stake.
Regardless of which node you're running, executing all the following commands will disable all Xerom Node services.
sudo systemctl stop xerochainnodesudo systemctl disable xerochainnodesudo systemctl stop xeronodesudo systemctl disable xeronodesudo systemctl stop xerolinknodesudo systemctl disable xerolinknodesudo systemctl stop xerosupernodesudo systemctl disable xerosupernode
Delete all chain data by executing:
rm -rf /home/xero/.xerom/*
If you've changed your mind and want to run the Xerom Node (regardless of type), you can reverse the whole process and return into a fully synchronized and running node by executing:
sudo systemctl enable xerochainnodesudo systemctl start xerochainnodesudo systemctl enable xeronodesudo systemctl start xeronodesudo systemctl enable xerolinknodesudo systemctl start xerolinknodesudo systemctl enable xerosupernodesudo systemctl start xerosupernode
Whether you've decided to stick with your decision to disable the Xerom Node services or decided to enable them again, you can use the commands below to determine their status.
Make sure the Xerom processes are either running or not running by executing:
sudo journalctl -f -u xero
You should see no records indicating activity if the services are disabled. If you see activity, the services are running.
You can also check the operational status of the Xerom Node services by executing:
sudo systemctl status xerochainnodesudo systemctl status xeronodesudo systemctl status xerolinknodesudo systemctl status xerosupernode
Navigate over to https://wallet.xerom.org
Select the Contracts tab, select the Xerom network, select the node type you’re activating and select access
Select the function to remove node, fill out your private key, login and write the contract. This will immediately refund your stake to your wallet. Contact us in Discord if you do not receive your stake within a minute.
Contact us in Discord to get the steps to try this out.