Page cover

Installation

Install with one line script

bash <(curl -s https://raw.githubusercontent.com/staketown/cosmos/master/osmosis/main_install.sh)

(Optional) Configure timeouts for processing blocks

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

Wallet creation

Create wallet

⚠️ store seed phrase, important during recovering

Recover wallet

⚠️ store seed phrase, important during recovering

Validator creation

After successful synchronisation we can proceed with validation creation.

Create validator

Last updated