Initia

Initia is a network for interwoven rollups

Binding a highly interwoven system of modular networks through architectural ownership of the L1 orchestration layer, L2 network, and the communication protocol.

  • website : Initia

  • Task : Validator, Jennie love you.

  • Status : Ongoing

Our Services

Validator installation

Requirement

  • Hardware

    • CPU : 8 Core

    • Memory : 24 GB

    • Disk : 1 TB NVME SSD

Installation

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

## Install Go
cd $HOME
VERSION=1.21.3
wget -O go.tar.gz https://go.dev/dl/go$VERSION.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go.tar.gz && rm go.tar.gz
echo 'export GOROOT=/usr/local/go' >> $HOME/.bash_profile
echo 'export GOPATH=$HOME/go' >> $HOME/.bash_profile
echo 'export GO111MODULE=on' >> $HOME/.bash_profile
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile && . $HOME/.bash_profile
go version

#install binary
git clone https://github.com/initia-labs/initia.git
cd initia
git checkout v0.2.15
make install
initiad version

#Set variable
echo 'export MONIKER="Yournicename"' >> ~/.bash_profile
echo 'export CHAIN_ID="initiation-1"' >> ~/.bash_profile
echo 'export WALLET="yourwalletname"' >> ~/.bash_profile 
source $HOME/.bash_profile

#init
initiad init $MONIKER --chain-id $CHAIN_ID

#Download Genesis File
wget -O $HOME/.initia/config/genesis.json https://initia.s3.ap-southeast-1.amazonaws.com/initiation-1/genesis.json

#Update Peers
seeds = "[email protected]:25756,[email protected]:16656,[email protected]:53456,[email protected]:53456,[email protected]:26656,[email protected]:17956,[email protected]:15656,[email protected]:10656,[email protected]:17956,[email protected]:17956,[email protected]:53456,[email protected]:26686,[email protected]:15056,[email protected]:17956,[email protected]:51656"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.initia/config/config.toml

# create service file
sudo tee /etc/systemd/system/initiad.service > /dev/null <<EOF
[Unit]
Description=initia node
After=network-online.target
[Service]
User=$USER
ExecStart=$(which initiad) start --home $HOME/.initia
Restart=on-failure
RestartSec=5
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF

#start service
sudo systemctl daemon-reload
sudo systemctl enable initiad
sudo systemctl restart initiad && sudo journalctl -u initiad -fo cat

Create Wallet

##Create new wallet
initiad keys add $WALLET

##Recovery old wallet
initiad keys add $WALLET --recover

Faucet

You can Request faucet here

Registering as a Validator

#check your validator status
initiad status 2>&1 | jq
##or you can use this
curl localhost:26657/status | jq

#make sure your node is sysnced to the latest height "catching_up: false"

####create 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="" \
  --website="" \
  --details="" \
  --gas=2000000 --fees=300000uinit \
  --node https://rpc.initia.idekubagus.com \
  -y

Delete Node

sudo systemctl stop initiad
sudo systemctl disable initiad
sudo rm -rf /etc/systemd/system/initiad.service
sudo rm $(which initiad)
sudo rm -rf $HOME/.initia

Fresh Peers

#mybest peers
head over config.toml and replace with this

seeds = "[email protected]:25756,[email protected]:16656,[email protected]:53456,[email protected]:53456,[email protected]:26656,[email protected]:17956,[email protected]:15656,[email protected]:10656,[email protected]:17956,[email protected]:17956,[email protected]:53456,[email protected]:26686,[email protected]:15056,[email protected]:17956,[email protected]:51656"
persistent_peers = "[email protected]:25756,[email protected]:26757,[email protected]:26656,[email protected]:26656"

#Download addressbook
wget -O $HOME/.initia/config/addrbook.json https://raw.githubusercontent.com/Idekubaguscom/testnet/main/Initia/addrbook.json

Last updated