Services
Explorer
https://explorer.ngsolutions.xyz/hedgetestnet
NGSolution Services
API | RPC | gRPC |
---|---|---|
hedge.api.ngsolutions.xyz | hedge.rpc.ngsolutions.xyz | hedge.grpc.ngsolutions.xyz:11092 |
Snapshot
Unfortunately, snapshot is not available right now! We are working on it.
Guide
Important: Back Up Your Validator Key
Before resetting your node, ensure you have a backup of your priv_validator_key.json
file. This is especially important if you've already created a validator. Without a backup, resetting the node will result in lost access and require you to create a new validator from scratch.
This script creates a copy of your priv_validator_state.json
and priv_validator_key.json
files. It then copies the original private files back after downloading the snapshot. However, use this script with caution to avoid any potential failures.
-
Stop the node
systemctl stop hedged
-
Create Backups of Private Files.
cp $HOME/.hedge/data/priv_validator_state.json $HOME/priv_validator_state.json.hedge.backup
cp $HOME/.hedge/config/priv_validator_key.json $HOME/priv_validator_key.json.hedge.backup -
Reset Node and Download Snapshot
hedged tendermint unsafe-reset-all --home $HOME/.hedge --keep-addr-book
curl https://snapshots.ngsolutions.xyz/snapshots/hedge/snap_hedge.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.hedge -
Restore Backed Up Files
cp $HOME/priv_validator_state.json.hedge.backup $HOME/.hedge/data/priv_validator_state.json
cp $HOME/priv_validator_key.json.hedge.backup $HOME/.hedge/config/priv_validator_key.json -
Start the Node and Monitor Logs
# It might take a while to establish connections with peers.
systemctl start hedged && journalctl -u hedged -f --no-hostname -o cat