ValidatorVN
  • ⚛️ValidatorVN
  • ⛓️Mainnet Network
  • 🧊Aura Network
  • 🧊Blockx Network
  • 🧊Elys Network
  • 🧊Entangle
  • 🧊Nibiru Chain
  • 🧊Namada
  • 🧊Shentu Chain
  • 🧊Zeta Chain
  • 🩶Orai Chain
  • 🩶Fetch Chain
  • 🩶Dymension
  • ⛓️Testnet Network
  • 🧊0G
  • 🧊Airchains
  • 🧊Celestia
  • 🧊Elys Network
  • 🧊Empeiria
  • 🧊Galactica
  • 🧊Hedge Block
  • 🧊Namada Housefire
  • 🧊Prysm
  • 🧊Side Protocol
  • 🧊Swisstronik
  • 🧊Story Protocol
  • 🧊Warden Protocol
  • 🧊Zenrock
  • 🩶Aligned Layer
  • 🩶Artela Network
  • 🩶Initia
    • Uptime Performance: Addressing Missed Blocks
    • Installation Guide
  • 🩶Mantra Chain
  • 🩶Pryzm
Powered by GitBook
On this page
  • Public Endpoints
  • Explorer
  • Snapshots
  • State-sync
  • Genesis & Addrbook

Aligned Layer

Universal Verification Layer for @ethereum using @eigenlayer. A product by @yetanotherco and @class_lambda.

PreviousZenrockNextArtela Network

Last updated 1 year ago

Public Endpoints

Explorer

Snapshots

sudo systemctl stop alignedlayerd
cp $HOME/.alignedlayer/data/priv_validator_state.json $HOME/.alignedlayer/priv_validator_state.json.backup
rm -rf $HOME/.alignedlayer/data
alignedlayerd tendermint unsafe-reset-all --home ~/.alignedlayer/ --keep-addr-book
curl https://snapshot.validatorvn.com/aligned/data.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.alignedlayer
mv $HOME/.alignedlayer/priv_validator_state.json.backup $HOME/.alignedlayer/data/priv_validator_state.json
sudo systemctl restart alignedlayerd && sudo journalctl -u alignedlayerd -f -o cat

State-sync

sudo systemctl stop alignedlayerd

SNAP_RPC="https://aligned-rpc.validatorvn.com:443"

cp $HOME/.alignedlayer/data/priv_validator_state.json $HOME/.alignedlayer/priv_validator_state.json.backup
alignedlayerd tendermint unsafe-reset-all --home ~/.alignedlayer/ --keep-addr-book

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

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\"|" ~/.alignedlayer/config/config.toml
more ~/.alignedlayer/config/config.toml | grep 'rpc_servers'
more ~/.alignedlayer/config/config.toml | grep 'trust_height'
more ~/.alignedlayer/config/config.toml | grep 'trust_hash'

sudo mv $HOME/.alignedlayer/priv_validator_state.json.backup $HOME/.alignedlayer/data/priv_validator_state.json

sudo systemctl restart alignedlayerd && journalctl -u alignedlayerd -f -o cat

Genesis & Addrbook

curl -Ls https://raw.githubusercontent.com/ValidatorVN/GuideNode/main/AlignedLayer/genesis.json > $HOME/.alignedlayer/config/genesis.json
curl -Ls https://raw.githubusercontent.com/ValidatorVN/GuideNode/main/AlignedLayer/addrbook.json > $HOME/.alignedlayer/config/addrbook.json

🩶
https://twitter.com/alignedlayer
https://discord.gg/alignedlayer
https://aligned-rpc.validatorvn.com/
https://aligned-api.validatorvn.com/
https://explorer.validatorvn.com/AlignedLayer-Testnet