Snapshots for AtomOne mainnet. Updated every 6 hours. Node does not stop during snapshot creation.
Decompression utility for .tar.zst files.
sudo apt install zstd -y
sudo systemctl stop atomoned
cp $HOME/.atomone/config/priv_validator_state.json $HOME/priv_validator_state.json.bak
wget -O atomone-snapshot.tar.zst https://snapshots.apollo-validator.eu/atomone/snapshots/latest.tar.zst
rm -rf $HOME/.atomone/data/application.db $HOME/.atomone/data/state.db $HOME/.atomone/data/evidence.db tar -I zstd -xf atomone-snapshot.tar.zst -C $HOME/.atomone/data/
cat $HOME/priv_validator_state.json.bak > $HOME/.atomone/config/priv_validator_state.json
sudo systemctl start atomoned
sudo systemctl status atomoned rm -v atomone-snapshot.tar.zst
Old snapshots are automatically deleted. Only the latest 2 snapshots are kept.
ls -lh $HOME/.atomone/data/snapshots/
Snapshots are created every 6 hours without stopping the node. The script archives application.db, state.db, and evidence.db.
Get the latest block height and hash from our RPC:
# Get latest height HEIGHT=$(curl -s https://rpc.atomone.apollo-validator.eu/status | jq -r '.result.sync_info.latest_block_height') echo "Height: $HEIGHT" # Get block hash HASH=$(curl -s "https://rpc.atomone.apollo-validator.eu/block?height=$HEIGHT" | jq -r '.result.block.header.app_hash') echo "Hash: $HASH"
Edit $HOME/.atomone/config/config.toml:
[state-sync] rpc_servers = "https://rpc.atomone.apollo-validator.eu" trust_height = <YOUR_HEIGHT> trust_hash = "<YOUR_HASH>" enable = true trust_period = "168h"
# Get peers from our list PEERS=$(curl -s https://snapshots.apollo-validator.eu/atomone/peers.md | grep -oP '[a-f0-9]+@[0-9.]+:26656' | tr '\n' ',' | sed 's/,$//') # Set in config.toml sed -i "s/^persistent_peers = .*/persistent_peers = \"$PEERS\"/" $HOME/.atomone/config/config.toml
atomoned start
The node will sync via state sync protocol automatically.
# Check sync status curl -s https://rpc.atomone.apollo-validator.eu/status | jq '.result.sync_info' # When synced, "catching_up" will be false
Verify trust_height is not too old (within trust_period). Verify trust_hash matches the block at trust_height.
Add more persistent_peers. Check firewall allows port 26656.
Add more RPC servers to rpc_servers (comma-separated). Ensure good network connectivity.
curl -s https://snapshots.apollo-validator.eu/api/atomone/snapshots/latest | jq
Returns JSON with height, size, and download URL.
Snapshots are created every 6 hours without stopping the node. Powered by Apollo Validator.