⛓️StateSync/Snapshot
🔥Lava🔥
Mainnet
StateSync Lava Mainnet
systemctl stop lavad
SNAP_RPC=https://lava.rpc.m.stavr.tech:443
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
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/.lava/config/config.toml
lavad tendermint unsafe-reset-all --home /root/.lava
wget -O $HOME/.lava/config/addrbook.json "https://server-1.stavr.tech/Mainnet/Lava/addrbook.json"
sudo systemctl restart lavad && journalctl -fu lavad -o catSnapShot Mainnet - updated every 30 hours
Useful Tools
🔥EXPLORER-M🔥: https://explorer.stavr.tech/Lava-Mainnet Indexer "ON"
🔥EXPLORER-T🔥: https://explorer.stavr.tech/Lava-Testnet Indexer "ON"
🔥API-M🔥: https://lava.api.m.stavr.tech
🔥API-T🔥: https://lava.api.t.stavr.tech
🔥RPC-M🔥: https://lava.rpc.m.stavr.tech Snapshot-interval = 1000
🔥RPC-T🔥: https://lava.rpc.t.stavr.tech Snapshot-interval = 1000
🔥gRPC-M🔥: lava.grpc.m.stavr.tech:443
🔥gRPC-T🔥: lava.grpc.t.stavr.tech:8030
ARCHIVE NODE
Peer-M
Seed-T
Addrbook-M
Addrbook-T
Genesis-M
Genesis-T
Auto_install_script-M
Auto_install_script-T
🔥Decentralization Info🔥COMING SOOON
COMING SOOONLast updated
Was this helpful?