Our state-sync RPC server for Swisstronik Network is:
https://rpc.testnet.swisstronik.com
Instruction
We assume that you use Cosmovisor to manage your node. If you do not use Cosmovisor, you will need to customize the following instruction slightly.
Create a reusable shell script such as state_sync.sh with the following code. The code will fetch important state-sync information (such as block height and trust hash) from our server and update your config.toml file accordingly.
Grant user the privilege to execute script and then run the script:
chmod700state_sync.sh./state_sync.sh
Stop the node:
sudoserviceswisstronikstop
Reset the node:
# On some tendermint chainsswisstronikdunsafe-reset-all# On other tendermint chainsswisstronikdtendermintunsafe-reset-all--home $HOME/.swisstronik--keep-addr-book
Restart the node:
sudoserviceswisstronikdstart
If everything goes well, your node should start syncing within 10 minutes.