Node Installation
# Initia Node Setup Script - This script automates the setup of an Initia node on a server.
You can easily install your Initia node on your server by entering the following command.
MONIKER = The name of your node.
The snapshot starts you from a more recent block, thereby eliminating the synchronization time.
wget -q -O initia.sh https://guide.huginn.tech/initia.sh && sudo chmod +x initia.sh && ./initia.sh && source $HOME/.bash_profile
You can monitor the synchronization status of your node with this command.
Once synchronized, you can proceed with the following steps.
curl http://localhost:26657/status | jq
Create an Initia wallet (don't forget to save the mnemonics)
initiad keys add $KEYNAME
After creating your wallet, request tokens with your wallet address from https://faucet.testnet.initia.xyz/.
After a short while, you can check your wallet balance with this command:
initiad q bank balances $ADDRESS
Create a validator (enter the name of your validator in the Moniker field).
initiad tx mstaking create-validator \
--amount=5000000uinit \
--pubkey=$(initiad tendermint show-validator) \
--moniker="$MONIKER" \
--chain-id=initiation-1 \
--from=$KEYNAME \
--commission-rate="0.10" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--gas=2000000 \
--fees=300000uinit \
-y