DNL Services
Telegram channelDiscord DNLExplorer & WalletConsole Akash
  • Decloud Nodes Lab
  • Guides
    • Console Akash overview
    • Cosmos SDK
      • Deploy nodes (RPC,validator)
      • CLI commands
      • Create priv_validator_key.json
  • Blockchains Lab
    • Mainnets
      • Akash Network
      • Empower
      • Gitopia
      • Juno
      • Realio Network
      • Kyve Protocol
      • Sentinelhub
      • Source
    • Testnets
      • Akash Sandbox
  • Software
    • 3proxy
    • V2RAY
Powered by GitBook
On this page
  • Endpoints
  • Snapshot
  • State sync

Was this helpful?

Edit on GitHub
  1. Blockchains Lab
  2. Mainnets

Kyve Protocol

PreviousRealio NetworkNextSentinelhub

Last updated 8 months ago

Was this helpful?

Endpoints

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

wget -O ~/.kyve/config/genesis.json https://kyve.declab.pro/genesis.json --inet4-only

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

wget -O ~/.kyve/config/addrbook.json https://kyve.declab.pro/addrbook.json --inet4-only

Peer: 73ef1c0f9bc77fd925decf7fa41f22a35b5dc76d@kyve.declab.pro:26618

PEERS=73ef1c0f9bc77fd925decf7fa41f22a35b5dc76d@kyve.declab.pro:26618
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" ~/.kyve/config/config.toml

Snapshot

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

# Reset tendermint chain
kyved tendermint unsafe-reset-all

# Download and unpack the archive
curl -o - -L https://kyve.declab.pro/latest.tar.lz4 | lz4 -c -d - | tar -x -C ~/.kyve

State sync

RPC="https://kyve.declab.pro:26616"

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\"|" ~/.kyve/config/config.toml

Site
Discord
Github
Medium
Youtube
X
Guide
Deploy file
Delegate to us
Kyve EXPLORER
RPC
API