⚙️ API & SYNC

RPC:

https://zenrock-rpc.coinseyir.com

API:

https://zenrock-api.coinseyir.com

Peers:

PEERS="2f037a6461c012f3296ab1815b3c47843bcd7c3a@zenrock-mainnet-peer.itrocket.net:59656,5ad8a5de6318529994da817043b268ef617e37ba@54.216.86.166:26656,36840303211712d936647da0f74d1498a7e298d1@34.251.37.55:26656"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.zrchain/config/config.toml

Addrbook:

wget -O $HOME/.zrchain/config/addrbook.json https://server-1.coinseyir.com/zenrock-mainnet/addrbook.json

Genesis:

wget -O $HOME/.zrchain/config/genesis.json https://server-1.coinseyir.com/zenrock-mainnet/genesis.json

Snapshot:

sudo service zenrockd stop
cp $HOME/.zrchain/data/priv_validator_state.json $HOME/.zrchain/priv_validator_state.json.backup
zenrockd tendermint unsafe-reset-all --home $HOME/.zrchain --keep-addr-book
curl -L https://server-1.coinseyir.com/zenrock-mainnet/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.zrchain
mv $HOME/.zrchain/priv_validator_state.json.backup $HOME/.zrchain/data/priv_validator_state.json
sudo service zenrockd start && sudo journalctl -fu zenrockd -o cat

Last updated