Node guide
Server specifications
CPU
4+ VCPU
RAM
16+ GB
Storage
1+ TB SSD
UBUNTU
22.04
Bandwidth
1GBS
Installing essentials components
Before diving into the installation of your node, it's essential to update your server. To do this, simply run the following command in your VPS terminal :
sudo apt-get update && sudo apt-get upgrade -yInstall the necessary libraries
sudo apt install curl git jq build-essential gcc unzip wget lz4 -yInstall 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 versionCheck go version
go versionThe command must respond : go version go1.22.0 linux/amd64
Install initia
initiaWe will use the initia library for quick and simple update when needed.
git clone https://github.com/initia-labs/initia.gitcd initiagit checkout v0.2.14make installWe check the initia version :
initiad versionThe response must be : v0.2.14
Create your variables
echo 'export MONIKER="my_custom_moniker"' >> ~/.bash_profileecho 'export CHAIN_ID="initiation-1"' >> ~/.bash_profileecho 'export WALLET="my_custom_wallet"' >> ~/.bash_profileecho 'export RPC_PORT="26657"' >> ~/.bash_profilesource $HOME/.bash_profileNode Initialisation
cd $HOMEinitiad init $MONIKER --chain-id $CHAIN_IDinitiad config set client chain-id $CHAIN_IDinitiad config set client node tcp://localhost:$RPC_PORTinitiad config set client keyring-backend osGet the genesis.json file
wget https://initia.s3.ap-southeast-1.amazonaws.com/initiation-1/genesis.json -O $HOME/.initia/config/genesis.jsonUpdate config.toml with seeds and peers
Peers and seeds list will be added later as they are actually unstable
PEERS=""SEEDS=""sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/" -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" "$HOME/.initia/config/config.toml"Update app.toml with gas price
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.15uinit,0.01uusdc\"/" $HOME/.initia/config/app.tomlCreate a service
nano /etc/systemd/system/initiad.service[Unit]
Description=My initia node
After=network.target
[Service]
User=$USER
Type=simple
ExecStart=$(which initiad) start --home $HOME/.initia
Restart=on-failure
LimitNOFILE=65535
[Install]
WantedBy=multi-user.targetLaunching the node
systemctl enable initiad.service
systemctl start initiad.serviceCheck the status of your node
systemctl status initiad.serviceCheck the node logs
sudo journalctl -u initiad -f -o catCreate your validator wallet
Before going futher you need to wait for your node to be sync. You can check this with differents commands you can find in our Quick command page.
initiad keys add $WALLET_NAMEIMPORTANT : Save your seed phrase.
Fullfill you wallet with faucet
Use the initia faucet : https://faucet.testnet.initia.xyz/
Create you validator
initiad tx mstaking create-validator
--amount=1000000uinit
--pubkey=$(initiad tendermint show-validator)
--moniker=$MONIKER
--chain-id=$CHAIN_ID
--commission-rate=0.05
--commission-max-rate=0.10
--commission-max-change-rate=0.01
--from=$WALLET
--identity="your_identity"
--website="your_website"
--details="your_details"
--gas=2000000 --fees=300000uinit
-yCheck you validator
You can check your validator status in the explorer : https://scan.testnet.initia.xyz/initiation-1
Last updated