initiadtxmstakingcreate-validator \--amount 2000000uinit \--pubkey $(initiadtendermintshow-validator) \--moniker "$YOUR_MONIKER" \ #Validatorname,displayedinexplorers.--identity"" \ #UseyourKeyBaseID.Ifyoudon't have one, leave it empty.--website "" \ #Your website is available, or leave the field blank--details "$YOUR_DETAILS" \ #Any details about your validator.--chain-id initiation-1 \--commission-rate 0.05 \--commission-max-rate 0.20 \--commission-max-change-rate 0.05 \--from wallet \--fees 80000uinit \-y
You can leave the text after # unchanged - it's a commented hint that won't affect validator creation.
β½ Replace the following values with your own: WALLET - usually it's 'wallet', or your wallet's name.
MONIKER - any convenient name for your validator, displayed in the explorer.
IDENTITY - validator's avatar, displayed in the explorer. Create a KeyBase ID following the instructions or leave it empty, and it will default to a standard one.
DETAILS - details about your validator, also displayed in the explorer.
Replace all necessary values indicated above with the $ sign to successfully create your validator.
β½ Example:
initiadtxmstakingcreate-validator \--amount 2000000uinit \--pubkey $(initiadtendermintshow-validator) \--moniker "Alex" \ #Validatorname,displayedinexplorers.--identity"" \ #UseyourKeyBaseID.Ifyoudon't have one, leave it empty.--website "mywebsite.com" \ #Your website is available, or leave the field blank--details "A reliable validator of your network" \ #Any details about your validator.--chain-id initiation-1 \--commission-rate 0.05 \--commission-max-rate 0.20 \--commission-max-change-rate 0.05 \--from wallet \--fees 80000uinit \-y
Update validator information
initiadtxstakingedit-validator \--commission-rate 0.1 \--new-moniker "$MONIKER" \--identity "" \--details "I love blockchain β€οΈ" \--from $WALLET \--chain-id initiation-1 \--gas auto--fees80000uinit \-y
initiadtxgovsubmit-proposal \--title="Title" \ #ChangeTitle--description="Description"\--deposit=1000000uinit \--type="Text" \ #Change text proposal--from=wallet \ #Change name wallet--gas-adjustment1.4 \--gas 2000000 \--fees 563000move/944f8dd8dc49f96c25fea9849f16436dcfa6d564eec802f3ef7f8b3ea85368ff \-y
βοΈ Utility
Set Custom Port
# Change CUSTOM_PORT to any other value, or leave it as is.CUSTOM_PORT=25sed -i.bak -e "s%:26658%:${CUSTOM_PORT}658%; s%:26657%:${CUSTOM_PORT}657%; s%:6060%:${CUSTOM_PORT}060%; s%:26656%:${CUSTOM_PORT}656%; s%:26660%:${CUSTOM_PORT}660%" $HOME/.initia/config/config.toml && sed -i.bak -e "s%:9090%:${CUSTOM_PORT}090%; s%:9091%:${CUSTOM_PORT}091%; s%:1317%:${CUSTOM_PORT}317%; s%:8545%:${CUSTOM_PORT}545%; s%:8546%:${CUSTOM_PORT}546%; s%:6065%:${CUSTOM_PORT}065%" $HOME/.initia/config/app.toml && sed -i.bak -e "s%:26657%:${CUSTOM_PORT}657%" $HOME/.initia/config/client.toml
sudosystemctlrestartinitiadjournalctl-uinitiad-f-ocat
echo $(initiad tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.initia/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')