https://okp4-testnet.mellifera.network/monitor
https://okp4-testnet.mellifera.network:26657
https://okp4-testnet.mellifera.network:9090
https://okp4-testnet.mellifera.network:1317
https://okp4-testnet.mellifera.network/snapshot
*Snapshot is pured and do not contain full history
pruning: custom/1000/0/10; indexer: null
sudo systemctl stop okp4d
okp4d tendermint unsafe-reset-all --home $HOME/.okp4d --keep-addr-book
SNAP_CHAIN_NAME=$(curl -s https://okp4-testnet.mellifera.network/snapshot/ | egrep -o ">okp4-snap.*\.tar.gz" | tr -d ">")
curl https://okp4-testnet.mellifera.network/snapshot/${SNAP_CHAIN_NAME} | tar -xzf - -C $HOME/ --strip-components 1
SNAP_WASM_NAME=$(curl -s https://okp4-testnet.mellifera.network/snapshot/ | egrep -o ">okp4-wasm.*\.tar.gz" | tr -d ">")
curl https://okp4-testnet.mellifera.network/snapshot/${SNAP_WASM_NAME} | tar -xzf - -C $HOME/ --strip-components 1
sudo systemctl restart okp4d
SNAP_RPC="https://okp4-testnet.mellifera.network:26657"
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
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\"\"|" ~/.okp4d/config/config.toml
curl -s https://okp4-testnet.mellifera.network/snapshot/addrbook.json > $HOME/.okp4d/config/addrbook.json
866b505e44a2077def00ede26999551bedb5bddd@okp4-testnet.mellifera.network:29959
PEERS="866b505e44a2077def00ede26999551bedb5bddd@okp4-testnet.mellifera.network:29959"
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.okp4d/config/config.toml
You can contact us and we help you :)