DNL Services
search
Ctrlk
Telegram channelDiscord DNLExplorer & WalletConsole Akash
DNL Services
  • Decloud Nodes Lab
  • Guides
  • Blockchains Lab
    • Mainnets
      • Akash Network
      • Empower
      • Gitopia
      • Juno
      • Realio Network
      • Kyve Protocol
      • Sentinelhub
      • Source
    • Testnets
  • Software
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
githubEdit
  1. Blockchains Labchevron-right
  2. Mainnets

Sentinelhub

Sentinel sitearrow-up-right

Sentinel Discordarrow-up-right

Sentinel Githubarrow-up-right

Sentinel Telegramarrow-up-right

Redditarrow-up-right

Sentinel Xarrow-up-right

Guidearrow-up-right

Deploy filearrow-up-right

Delegate to usarrow-up-right

Sentinel Network EXPLORERarrow-up-right

hashtag
Endpoints

RPCarrow-up-right

APIarrow-up-right

Genesis: https://sentinel.declab.pro/genesis.json

Addrbook: https://sentinel.declab.pro/addrbook.json

Peer: [email protected]:26630

hashtag
Snapshot

Link: https://sentinel.declab.pro/latest.tar.lz4

hashtag
State sync

PreviousKyve Protocolchevron-leftNextSourcechevron-right

Last updated 1 year ago

  • Endpoints
  • Snapshot
  • State sync
wget -O ~/.sentinelhub/config/genesis.json https://sentinel.declab.pro/genesis.json --inet4-only
wget -O ~/.sentinelhub/config/addrbook.json https://sentinel.declab.pro/addrbook.json --inet4-only
PEERS=73ef1c0f9bc77fd925decf7fa41f22a35b5dc76d@sentinel.declab.pro:26630,[email protected]:26656,[email protected]:17256,[email protected]:26656,[email protected]:26656,[email protected]:23956
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" ~/.sentinelhub/config/config.toml
# Reset tendermint chain
sentinelhub tendermint unsafe-reset-all

# Download and unpack the archive
curl -o - -L https://sentinel.declab.pro/latest.tar.lz4 | lz4 -c -d - | tar -x -C ~/.sentinelhub
RPC="https://sentinel.declab.pro:26628"

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

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