Guides
May 18, 2023
Lava network
https://www.lavanet.xyz/
https://docs.lavanet.xyz/
https://discord.com/invite/Tbk5NxTCdA
https://twitter.com/lavanetxyz
https://github.com/lavanet/docs/blob/main/CONTRIBUTING.md
https://bd.lavanet.xyz/ Official block explorer
Update if needed and install packages
sudo apt update && sudo apt upgrade -y && \ sudo apt install curl git wget htop build-essential tar jq make lz4 unzip -y
ver="1.20" && \ wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz" && \ sudo rm -rf /usr/local/go && \ sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz" && \ rm "go$ver.linux-amd64.tar.gz" && \ echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile && \ source $HOME/.bash_profile && \ go version
cd $HOME rm -rf $HOME/lava git clone https://github.com/lavanet/lava.git cd lava git checkout v0.11.2 make install
lavad init <MONIKER-NAME> --chain-id lava-testnet-1 && \ lavad config chain-id lava-testnet-1 && \ lavad config keyring-backend test
lavad keys add <WALLET-NAME>
wget -O $HOME/.lava/config/genesis.json https://raw.githubusercontent.com/lavanet/lava-config/main/testnet-1/genesis_json/genesis.json
Create systemd unit file sudo tee /etc/systemd/system/lavad.service > /dev/null <<EOF [Unit] Description=Lava Node After=network-online.target [Service] User=$USER Type=simple ExecStart=$(which lavad) start Restart=on-failure LimitNOFILE=65535 [Install] WantedBy=multi-user.target EOF
sudo systemctl daemon-reload sudo systemctl enable lavad sudo systemctl restart lavad sudo journalctl -fu lavad -o cat
lavad tx staking create-validator \ --amount 1000000ulava \ --from "<WALLET-NAME>" \ --commission-rate 0.1 \ --commission-max-rate 0.2 \ --commission-max-change-rate 0.01 \ --min-self-delegation 1 \ --pubkey $(lavad tendermint show-validator) \ --moniker "<MONIKER-NAME>" \ --chain-id lava-testnet-1 \ --gas auto --gas-adjustment 1.5 \ -y