bash <(curl -s https://raw.githubusercontent.com/staketown/cosmos/master/osmosis/main_install.sh)
CONFIG_TOML="~/.osmosisd/config/config.toml"
sed -i 's/timeout_propose =.*/timeout_propose = "100ms"/g' $CONFIG_TOML
sed -i 's/timeout_propose_delta =.*/timeout_propose_delta = "500ms"/g' $CONFIG_TOML
sed -i 's/timeout_prevote =.*/timeout_prevote = "100ms"/g' $CONFIG_TOML
sed -i 's/timeout_prevote_delta =.*/timeout_prevote_delta = "500ms"/g' $CONFIG_TOML
sed -i 's/timeout_precommit =.*/timeout_precommit = "100ms"/g' $CONFIG_TOML
sed -i 's/timeout_precommit_delta =.*/timeout_precommit_delta = "500ms"/g' $CONFIG_TOML
sed -i 's/timeout_commit =.*/timeout_commit = "1s"/g' $CONFIG_TOML
sed -i 's/skip_timeout_commit =.*/skip_timeout_commit = false/g' $CONFIG_TOML
After successful synchronisation we recommend to turn off snapshot_interval and state sync, this will save space on your hardware.
snapshot_interval=0
sed -i.bak -e "s/^snapshot-interval *=.*/snapshot-interval = \"$snapshot_interval\"/" ~/.osmosisd/config/app.toml
sed -i 's|^enable *=.*|enable = false|' $HOME/.osmosisd/config/config.toml
sudo systemctl restart osmosisd && sudo journalctl -u osmosisd -f -o cat
⚠️ store seed phrase, important during recovering
osmosisd keys add <YOUR_WALLET_NAME>
⚠️ store seed phrase, important during recovering
osmosisd keys add <YOUR_WALLET_NAME> --recover
After successful synchronisation we can proceed with validation creation.
osmosisd tx staking create-validator
--amount=1000000uosmo \
--pubkey=$(osmosisd tendermint show-validator) \
--moniker="<Your moniker>" \
--identity=<Your identity> \
--details="<Your details>" \
--chain-id=osmosis-1 \
--commission-rate=0.10 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--from=<YOUR_WALLET> \
--gas-prices=0.1uosmo \
--gas-adjustment=1.5 \
--gas=auto \
-y