1. Enable State Sync

SNAP_RPC=https://rpc.crypto.stakepool.dev.br:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

sudo systemctl stop chain-maind && chain-maind tendermint unsafe-reset-all --home $HOME/.chain-maind --keep-addr-book

peers="5943e934e70538529f2799194911114292d1cd14@85.239.241.145:26687"
sed -i.bak -e "s/^persistent_peers =./persistent_peers = \"$peers\"/"

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.chain-maind/config/config.toml

sudo systemctl restart chain-maind && sudo journalctl -fu chain-maind -o cat

1. Enable State Sync

SNAP_RPC=https://rpc.comdex.stakepool.dev.br:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

sudo systemctl stop comdex && comdex tendermint unsafe-reset-all --home $HOME/.comdex --keep-addr-book

peers="28d600f8ecc7c45a6efe4701e74fe4755abd2551@85.239.241.145:46657"
sed -i.bak -e "s/^persistent_peers =./persistent_peers = \"$peers\"/" $HOME/.comdex/config/config.toml

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.comdex/config/config.toml

sudo systemctl restart comdex && sudo journalctl -fu comdex -o cat

1. Enable State Sync

SNAP_RPC=https://rpc.bitcanna.stakepool.dev.br:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

sudo systemctl stop bcnad && bcnad tendermint unsafe-reset-all --home $HOME/.bcnad --keep-addr-book

peers="b7de7710f5a17ad88562df89575b612fcc84786f@85.239.241.145:26777"
sed -i.bak -e "s/^persistent_peers =./persistent_peers = \"$peers\"/" $HOME/.bcnad/config/config.toml

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.bcnad/config/config.toml

sudo systemctl restart bcnad && sudo journalctl -fu bcnad -o cat

1. Enable State Sync

SNAP_RPC=https://rpc.persistence.stakepool.dev.br:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

sudo systemctl stop persistence && persistenceCore tendermint unsafe-reset-all --home $HOME/.persistenceCore --keep-addr-book

peers="445b72712d4a079da955766732de825b71974253@85.239.241.145:26667"
sed -i.bak -e "s/^persistent_peers =./persistent_peers = \"$peers\"/" $HOME/.persistenceCore/config/config.toml

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.persistenceCore/config/config.toml

sudo systemctl restart persistence && sudo journalctl -fu persistence -o cat

1. Enable State Sync

SNAP_RPC=https://rpc.beezee.stakepool.dev.br:443 && \ LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

sudo systemctl stop bzed && bzed tendermint unsafe-reset-all --home $HOME/.bze --keep-addr-book

peers="475d07300a6ead696f46bf47e4088194b22694b4@85.239.241.145:26657"
sed -i.bak -e "s/^persistent_peers =./persistent_peers = \"$peers\"/" $HOME/.bze/config/config.toml

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.bze/config/config.toml

sudo systemctl restart bzed && sudo journalctl -fu bzed -o cat

1. Enable State Sync

SNAP_RPC=https://rpc.arable.stakepool.dev.br:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

sudo systemctl stop acred && acred tendermint unsafe-reset-all --home $HOME/.acred --keep-addr-book

peers="152375d604d9e67d8b50e589116701a0d4247475@85.239.241.145:36657"
sed -i.bak -e "s/^persistent_peers =./persistent_peers = \"$peers\"/" $HOME/.acred/config/config.toml

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.acred/config/config.toml

sudo systemctl restart acred && sudo journalctl -fu acred -o cat

1. Enable State Sync

SNAP_RPC=https://rpc.humans.stakepool.dev.br:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

sudo systemctl stop humansd && humansd tendermint unsafe-reset-all --home $HOME/.humansd --keep-addr-book

peers="d91ba1d2d032524d107db9131b3f80e5e608069b@85.239.241.145:24777"
sed -i.bak -e "s/^persistent_peers =./persistent_peers = \"$peers\"/" $HOME/.humansd/config/config.toml

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.humansd/config/config.toml

sudo systemctl restart humansd && sudo journalctl -fu humansd -o cat

1. Enable State Sync

SNAP_RPC=https://rpc.celestia.stakepool.dev.br:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

sudo systemctl stop celestia-app && celestia-app tendermint unsafe-reset-all --home $HOME/.celestia-app --keep-addr-book

peers="d91ba1d2d032524d107db9131b3f80e5e608069b@38.242.133.24:26656"
sed -i.bak -e "s/^persistent_peers =./persistent_peers = \"$peers\"/" $HOME/.celestia-app/config/config.toml

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.celestia-app/config/config.toml

sudo systemctl restart celestia-app && sudo journalctl -fu celestia-app -o cat

Statesync

Together we can make a fairer financial future, we can change it for the better.

Need Help ?

Please feel free to contact us. We will get back to you with or contact us by sending an email.


contact@stakepool.dev.br

Contact us