RPC, API, gRPC

gRPC:

odiseo-testnet-grpc.bonynode.online:443

peers:

5cba71412f911b5a4f24353dd386131e02ccf515@odiseo-testnet-peer.bonynode.online:55556

live peers: (0 active)

PEERS="5cba71412f911b5a4f24353dd386131e02ccf515@odiseo-testnet-peer.bonynode.online:55556"
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.achilles/config/config.toml

addrbook: (upd 1h)

wget -O $HOME/.achilles/config/addrbook.json https://testnet-files.bonynode.online/odiseo/addrbook.json

Snapshot

## Snapshot is not available yet

State Sync

If you don't want to wait for a long synchronization you can use:

sudo systemctl stop achillesd

cp $HOME/.achilles/data/priv_validator_state.json $HOME/.achilles/priv_validator_state.json.backup
achillesd tendermint unsafe-reset-all --home $HOME/.achilles

peers="5cba71412f911b5a4f24353dd386131e02ccf515@odiseo-testnet-peer.bonynode.online:55556"  
SNAP_RPC="https://odiseo-testnet-rpc.bonynode.online:443"

sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.achilles/config/config.toml 

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height);
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000));
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH && sleep 2

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/.achilles/config/config.toml

curl https://testnet-files.bonynode.online/odiseo/wasmPath_odiseo.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/
mv $HOME/.achilles/priv_validator_state.json.backup $HOME/.achilles/data/priv_validator_state.json

sudo systemctl restart achillesd && sudo journalctl -u achillesd -f

Wasm

Sorry, this project does not support WebAssembly.