Kava
This guide presents you the Kava Node setup for both testnet and mainnet, as well as the integration with Axelar Network.
Prerequisites
- Setup your Axelar validator
- Minimum hardware requirements: 4 core CPU , 8GB RAM
- MacOS or Ubuntu
- Build-essential packages
- Golang
- Official Documentation
- GitHub
Install Kava
Install the appropriate Golang version (found on their GitHub, linked above).
git checkout [release tag]
git checkout [release tag]
Setup Kava Node
Initialize Kava config
kava init [your_moniker_name] —chain-id kava_2222-10
kava init [your_moniker_name] —chain-id kava_2221-16000
Set up the Genesis file
wget https://kava-genesis-files.s3.us-east-1.amazonaws.com/kava_2222-10/genesis.json
wget https://raw.githubusercontent.com/Kava-Labs/kava-testnets/master/16000/genesis.json
Edit $HOME/.kava/config/config.toml
to add the following persistent peers.
Add minium gas prices into app.toml
Do the rest of the port configuration as desired; The EVM configuration and ports can be found in the app.toml under ection “EVM Configuration”
Pruning configuration
For the purposes of Axelar, Kava RPC nodes can be kept fully pruned.
Update the pruning config in $HOME/.kava/config/app.toml
as below
State sync script
Create a state sync script statesync.sh
with the following code and replace the RPC var for the appropriate network.
https://kava-mainnet.chainode.tech:443
https://kava-testnet.chainode.tech:443
Run the script with appropriate permissions.
Configure systemd
Configure vald
In order for vald
to connect to your RPC node, it should be exposed in
vald’s config.toml
.