RPC, API, gRPC

gRPC:

uptick-mainnet-grpc.itrocket.net:443

Peers, Seeds, Live Peers, Addrbook

peers:

dd482d080820020b144ca2efaf128d78261dea82@uptick-mainnet-peer.itrocket.net:10656

seeds:

e71bae28852a0b603f7360ec17fe91e7f065f324@uptick-mainnet-seed.itrocket.net:35656

live peers: (0 active)

PEERS="dd482d080820020b144ca2efaf128d78261dea82@uptick-mainnet-peer.itrocket.net:10656"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.uptickd/config/config.toml

peers scanner:

PEERS="[email protected]:27656,[email protected]:30656,[email protected]:11556,dd482d080820020b144ca2efaf128d78261dea82@uptick-mainnet-rpc.itrocket.net:10656,[email protected]:60956,[email protected]:30656,a47d80e1fd1df5a2046b0a9e2b4764656de2495c@uptick-rpc.stakerhouse.com:10656,[email protected]:27656,[email protected]:21656"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.uptickd/config/config.toml

addrbook: (upd 1h)

wget -O $HOME/.uptickd/config/addrbook.json https://server-3.itrocket.net/mainnet/uptick/addrbook.json

genesis:

wget -O $HOME/.uptickd/config/genesis.json https://server-3.itrocket.net/mainnet/uptick/genesis.json

Snapshot

pruned
## Snapshot is not available yet

State Sync

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

sudo systemctl stop uptickd

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

peers="dd482d080820020b144ca2efaf128d78261dea82@uptick-mainnet-peer.itrocket.net:10656"  
SNAP_RPC="https://uptick-mainnet-rpc.itrocket.net:443"

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

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

mv $HOME/.uptickd/priv_validator_state.json.backup $HOME/.uptickd/data/priv_validator_state.json

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

Wasm

Sorry, this project does not support WebAssembly.

logo
Copyright © 2024 ITRocket. All Rights Reserved.