Stay up to date with the latest news on our Socials
- Join our Telegram Community
- Join our Discord
- Follow us on Twitter
- Check out our Medium
# update the local package list and install any available upgrades
sudo apt-get update && sudo apt upgrade -y
# install toolchain and ensure accurate time synchronization
sudo apt-get install make build-essential gcc git jq chrony -y
# download the latest version
wget https://go.dev/dl/go1.21.1.linux-amd64.tar.gz
# remove old version (if any)
sudo rm -rf /usr/local/go
# install the new version
sudo tar -C /usr/local -xzf go1.21.1.linux-amd64.tar.gz
# run these commands
cat <<EOF >> ~/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source ~/.profile
go version
The output should be go version go1.21.1 linux/amd64
# run these commands
git clone https://github.com/ChihuahuaChain/chihuahua.git
cd chihuahua
git fetch --tags
git checkout v7.0.2
make install
To verify the installation you can run chihuahuad version
and it should return v7.0.2
Replace $MONIKERNAME
with your choosen node name
chihuahuad init $MONIKER_NAME --chain-id chihuahua-1
wget -O ~/.chihuahuad/config/genesis.json https://raw.githubusercontent.com/ChihuahuaChain/chihuahua/main/mainnet/genesis.json
seeds="77cbb35d1df17f48a42e9f157f12f55b691e9f5e@seeds.goldenratiostaking.net:1620,4936e377b4d4f17048f8961838a5035a4d21240c@chihuahua-seed-01.mercury-nodes.net:29540"
peers="b140eb36b20f3d201936c4757d5a1dcbf03a42f1@216.238.79.138:26656,19900e1d2b10be9c6672dae7abd1827c8e1aad1e@161.97.96.253:26656,c382a9a0d4c0606d785d2c7c2673a0825f7c53b2@88.99.94.120:26656,a5dfb048e4ed5c3b7d246aea317ab302426b37a1@137.184.250.180:26656,3bad0326026ca4e29c64c8d206c90a968f38edbe@128.199.165.78:26656,89b576c3eb72a4f0c66dc0899bec7c21552ea2a5@23.88.7.73:29538,38547b7b6868f93af1664d9ab0e718949b8853ec@54.184.20.240:30758,a9640eb569620d1f7be018a9e1919b0357a18b8c@38.146.3.160:26656,7e2239a0d4a0176fe4daf7a3fecd15ac663a8eb6@144.91.126.23:26656"
sed -i.bak -e "s/^seeds *=.*/seeds = \"$seeds\"/; s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.chihuahuad/config/config.toml
sed -i.bak 's/minimum-gas-prices =.*/minimum-gas-prices = "100uhuahua"/' $HOME/.chihuahuad/config/app.toml
Install cosmovisor
go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@latest
which cosmovisor
# should return
'/home/<your-user>/go/bin/cosmovisor'
# run these commands
cat <<EOF >> ~/.profile
export DAEMON_NAME=chihuahuad
export DAEMON_HOME=$HOME/.chihuahuad
EOF
source ~/.profile
echo $DAEMON_NAME
# should return
'chihuahuad'
# create the directories
mkdir -p $DAEMON_HOME/cosmovisor/genesis/bin
mkdir -p $DAEMON_HOME/cosmovisor/upgrades
# check the binary path with
which chihuahuad
# this should return
'/home/your-user/go/bin/chihuahuad'
# copy the binary into
cp $(which chihuahuad) $DAEMON_HOME/cosmovisor/genesis/bin
Set up the service file
sudo nano /etc/systemd/system/chihuahuad.service
# paste and edit <your-user> with your username
[Unit]
Description=Chihuahua Daemon (cosmovisor)
After=network-online.target
[Service]
User=<your-user>
ExecStart=/home/<your-user>/go/bin/cosmovisor run start
Restart=always
RestartSec=3
LimitNOFILE=4096
Environment="DAEMON_NAME=chihuahuad"
Environment="DAEMON_HOME=/home/<your-user>/.chihuahuad"
Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=false"
Environment="DAEMON_RESTART_AFTER_UPGRADE=true"
Environment="DAEMON_LOG_BUFFER_SIZE=512"
[Install]
WantedBy=multi-user.target
Enable the service
sudo -S systemctl daemon-reload
sudo -S systemctl enable chihuahuad
Get the latest snapshot (Thanks to Polkachu) and follow the Pruning tips to save some GB
You can start the node by running
sudo systemctl start chihuahuad
# check the logs by running
journalctl -u chihuahuad -f
The node will take some time to catch-up with the blockchain. You can follow the blocks being indexed by rnning
journalctl -u chihuahuad -f | grep indexed
ChihuahuaChain Governance voted a proposal enabling the minimum 5% Commission enforced by the blockchain.
# create a new wallet for the validator
chihuahuad keys add <key-name>
# save the seed phrase (mnemonic) in a safe place
# copy the 'chihuahua...' address and send some HUAHUA
# in order to pay for the validator creation's transaction
# Make sure the Validator has fully synced before running
chihuahuad tx staking create-validator \
--from "<key-name>" \
--amount "1000000uhuahua" \
--pubkey "$(chihuahuad tendermint show-validator)" \
--chain-id "chihuahua-1" \
--moniker "<moniker>" \
--commission-max-change-rate 0.01 \
--commission-max-rate 0.20 \
--commission-rate 0.10 \
--min-self-delegation 1 \
--details "<details>" \
--security-contact "<contact>" \
--website "<website>" \
--gas-prices "1uhuahua"
# Make sure to backup the priv_validator_key.json file in your
# /home/<your-user>/.chihuahuad/config directory
# and store it in a safe place
Congratulation! Your Validator node should be up and running
Make sure to join our Discord and contact a moderator if you have a mainnet node so we can invite you to the validator's channel to follow up the latest updates and future upgrades.
- v8.0.0 - Block 14762000 - (2024-09-29 13:45:00)
- v7.0.1 (using v7.0.2 binary) - Block 13250000 - (2024-06-17 15:11:00)
- v7 (v7) - Block 12900000 - (2024-05-24 10:12:00)
- v6 (v6) - Block 10666000 - (2023-12-23 15:30:00)
- v503 (v5.0.4) - Block 9430000 - (2023-09-28 16:30:00) - (Halt height 9431130 due to wrong wasmd/wasmvm - Use v5.0.4 on directory v503)
- v502 (v5.0.2) - Block 9180000 - (2023-09-11 15:00:00)
- v501 (v5.0.1) - Block 8813000 - (2023-08-17 16:03:13)
- v500 (v5.0.0) - Block 8711111 - (2023-08-10 15:28:23)
- v421 (v4.2.1) - Block 6376376 - (2022-03-04 12:20:37)
- v420 (v4.2.0) - Block 6039999 - (2022-02-09 13:41:07)
- v410 (v4.1.0) - Block 4886666 - (2022-11-22 15:25:11)
- v400 (v4.0.0) - Block 4787878 - (2022-11-15 13:36:46)
- v310 (v3.1.0) - Block 4673333 - (2022-11-07 15:11:26)
- iavl fast node _(v2.4.*) - block unk - state breaking upgrade that ensures that dragonberry is fully patched, go1.19 is used, and iavl fast node is properly configured.
- burnmech (v2.3.0) - Block unk - We won't be using this version, but we have it for historical purposes and for the creation of archive nodes.
- burnmech (v2.2.2) - Block 4488444 - (2022-10-21 14:14:37) (retracted)
- authz (v2.1.0) - Block 4182410 - (2022-09-30 14:54:19)
- minpropdeposit (v2.0.2) - Block 3654321 - (2022-08-25 13:00:26)
- Chiwawasm (v2.0.1) - Block 3000800 - (2022-07-11 17:02:14)
- angryandy (v1.1.1) - Block 535000 - (2022-01-19 17:20:00)