Initia
Last updated
Last updated
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
gRPC : grpc.initia.idekubagus.com:8080
Explorer : https://ex.idekubagus.com/
Requirement
Hardware
CPU : 8 Core
Memory : 24 GB
Disk : 1 TB NVME SSD
#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 = "f48610351be116d5e01ebee3e9c6c4178091f480@65.109.113.233:25756,b54d2c93d29451f3066e264060374f6931253506@65.109.92.18:16656,81d8f6e80f645938069fcbf629dfb30968244f39@62.169.19.79:53456,00bcac6e600b1af9c00b358e7da2426b60bb3c53@155.133.22.76:53456,4abb5898d69a59852f8d37811805314f4d880733@38.242.135.228:26656,caa84b23309f4376663d390836f7e10d369fc261@185.215.167.90:17956,d4e9faba8d84a096df776d0186d89f43f95d82f0@213.199.33.65:15656,dec3518c3a7cfd1e088b3aeb470f4ec221c8e30a@77.237.238.199:10656,c882c77d1eed5342cfc5883543cfc3c74246365c@161.35.124.226:17956,db923908c822669fd679c0ce31b53529d581170d@212.90.121.127:17956,cffde4f57f73461e4d13cbec1935c5aebbecf91f@161.97.99.9:53456,5c2a752c9b1952dbed075c56c600c3a79b58c395@195.3.221.9:26686,e8dfba2642dd70e74476dcbcfaf7b249ffcdbfc5@195.26.255.211:15056,efa4757c6bc8eaf1db680fed4b96ab95f8acaa34@167.235.237.205:17956,470d6e03dcec1b88314876366dcee342c92521e0@65.108.87.60: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 new wallet
initiad keys add $WALLET
##Recovery old wallet
initiad keys add $WALLET --recover
You can Request faucet here
#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
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
#mybest peers
head over config.toml and replace with this
seeds = "f48610351be116d5e01ebee3e9c6c4178091f480@65.109.113.233:25756,b54d2c93d29451f3066e264060374f6931253506@65.109.92.18:16656,81d8f6e80f645938069fcbf629dfb30968244f39@62.169.19.79:53456,00bcac6e600b1af9c00b358e7da2426b60bb3c53@155.133.22.76:53456,4abb5898d69a59852f8d37811805314f4d880733@38.242.135.228:26656,caa84b23309f4376663d390836f7e10d369fc261@185.215.167.90:17956,d4e9faba8d84a096df776d0186d89f43f95d82f0@213.199.33.65:15656,dec3518c3a7cfd1e088b3aeb470f4ec221c8e30a@77.237.238.199:10656,c882c77d1eed5342cfc5883543cfc3c74246365c@161.35.124.226:17956,db923908c822669fd679c0ce31b53529d581170d@212.90.121.127:17956,cffde4f57f73461e4d13cbec1935c5aebbecf91f@161.97.99.9:53456,5c2a752c9b1952dbed075c56c600c3a79b58c395@195.3.221.9:26686,e8dfba2642dd70e74476dcbcfaf7b249ffcdbfc5@195.26.255.211:15056,efa4757c6bc8eaf1db680fed4b96ab95f8acaa34@167.235.237.205:17956,470d6e03dcec1b88314876366dcee342c92521e0@65.108.87.60:51656"
persistent_peers = "f48610351be116d5e01ebee3e9c6c4178091f480@65.109.113.233:25756,ab6da2cf3c972d5f19b1b0bd1517e89d664d4340@138.201.85.253:26757,da80a0d5c3bb6db38e393acc15f8a4ca8bf0e6a7@104.236.199.180:26656,454deb6b36e2b0e465827e60dea3d954f3efc787@43.133.30.52:26656"
#Download addressbook
wget -O $HOME/.initia/config/addrbook.json https://raw.githubusercontent.com/Idekubaguscom/testnet/main/Initia/addrbook.json