RPC (archive) : https://rpc-lava.theamsolutions.info
REST (archive) : https://rest-lava.theamsolutions.info
gRPC (archive) : https://grpc-lava.theamsolutions.info
SEED : c41a620301bdf2ad521ed1080b41f3bbe948cf75@seed-lava.theamsolutions.info:443
Official docs HERE
STATE SYNC SERVICE
Please make sure You have latest, officially launched version of Lava binaries.
sudo systemctl stop lavad.service
mv $HOME/.lava/data/priv_validator_state.json $HOME
lavad tendermint unsafe-reset-all
mv $HOME/priv_validator_state.json $HOME/.lava/data
SNAP_RPC="https://rpc-lava.theamsolutions.info:443"; \
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\"|" $HOME/.lava/config/config.toml; \
wget -qO $HOME/.lava/config/addrbook.json https://arch.snap-lava.theamsolutions.info/addrbook.json
sudo systemctl restart lavad
sudo journalctl -u lavad -fn 50 -o cat
ARCHIVE DATA SNAPSHOT
(updated every 24 hrs. 00:00 UTC)
#check snapshot info : curl -s https://arch.snap-lava.theamsolutions.info | egrep -o ">lava*.*tar" | tr -d ">"
snap=$(curl -s https://arch.snap-lava.theamsolutions.info | egrep -o ">lava*.*tar" | tr -d ">")
wget -P $HOME https://snapshots.theamsolutions.info/${snap}
sudo systemctl stop lavad
mv $HOME/.lava/data/priv_validator_state.json $HOME
rm -rf $HOME/.lava/data
tar xf $HOME/${snap} -C $HOME/.lava
rm $HOME/${snap}
mv $HOME/priv_validator_state.json $HOME/.lava/data
wget -qO $HOME/.lava/config/addrbook.json https://arch.snap-lava.theamsolutions.info/addrbook.json
sudo systemctl restart lavad
sudo journalctl -u lavad -fn 50 -o cat
STATE SYNCED DATA SNAPSHOT
(updated every 3 hrs. )
#check snapshot info : curl -s https://snapshots.theamsolutions.info | egrep -o ">lava-snap*.*tar" | tr -d ">"
snap=$(curl -s https://snapshots.theamsolutions.info | egrep -o ">lava-snap*.*tar" | tr -d ">")
wget -P $HOME https://snapshots.theamsolutions.info/${snap}
sudo systemctl stop lavad
mv $HOME/.lava/data/priv_validator_state.json $HOME
rm -rf $HOME/.lava/data
tar xf $HOME/${snap} -C $HOME/.lava
rm $HOME/${snap}
mv $HOME/priv_validator_state.json $HOME/.lava/data
wget -qO $HOME/.lava/config/addrbook.json https://arch.snap-lava.theamsolutions.info/addrbook.json
sudo systemctl restart lavad
sudo journalctl -u lavad -fn 50 -o cat
USEFUL COMMANDS
#check node status
curl localhost:26657/status
#or
lavad status | jq
#add wallet
lavad keys add <wallet-name>
#check all available wallets
lavad keys list
#balance of your wallet
lavad query bank balances <wallet-key>
#find valoper address
lavad keys show <wallet-name> --bech val -a
#check validator staking state
lavad query staking validator <lava@valoper1...-address> --chain-id <CHAIN-ID>
#command for delegating
lavad tx staking delegate <lava@valoper1...-address> 1000000ulava --chain-id <CHAIN-ID> --from <wallet-name> --gas=auto
#Withdraw all-rewards with commisions
lavad tx distribution withdraw-rewards <lava@valoper1...-address> --from <wallet-name> --chain-id <CHAIN-ID> --commission --yes --gas=auto
#unjail command
lavad tx slashing unjail --from <wallet_name> --chain-id <CHAIN-ID> --gas=auto
#vote | options : yes/no/no_with_veto/abstain
lavad tx gov vote 1 yes --from <wallet_name> --chain-id <CHAIN-ID> --gas=auto
GOOD LUCK!
AM Solutions © Copyright. All rights reserved.
We need your consent to load the translations
We use a third-party service to translate the website content that may collect data about your activity. Please review the details in the privacy policy and accept the service to view the translations.