Page cover

Installation

⛓️ Requirements for Validators:

Prerequisites:
CPU: 4 cores
Memory: 16GB RAM
Storage: 1 TB SSD Storage
Network Bandwidth: 100 Mbps
Initiad: v0.2.10

πŸ“Œ It is recommended to use Linux OS to run Initia nodes. Running Initia node has not been tested on other OS environments, and same environment settings and running conditions cannot be guaranteed.

1. System updates, installation of required environments:

sudo apt update && \
sudo apt install curl git jq build-essential gcc unzip wget lz4 -y

2. Install Go:

cd $HOME && \
ver="1.22.0" && \
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

3. Install initia binary:

4. Set up variables:

5. Initialize the node:

6. Download genesis.json:

7. Add seeds and peers to the config.toml:

8. Change ports (Optional)

9. Configure prunning to save storage (Optional)

10. Set min gas price

11. Disable indexer

12. Create a service file

13. Start the node

P.S. Consider downloading snapshot

circle-exclamation

14. Create a wallet for your validator

15. Request tokens from the faucet on Discord

-> FAUCETarrow-up-right <-

16. Check wallet balance

Make sure your node is fully synced unless it won't work.

circle-exclamation

17. Create a validator

Do not forget to save priv_validator_key.json file located in $HOME/.initia/config/

Oracle Setup:

First, let's create a s on the same server.

This section is only valid for the active set, but you can install it now.

Install Oracle:

Run Oracle:

Create service:

Enable and Start service:

Validating Prices:

When you run the command below, you should see the prices. However, if you are not in the active set, you will not see the price here. You can stop and continue with CTRL C.

Enable Oracle Vote Extension:

Check logs:

  • Successfull Log examples:

circle-info

Last updated