Founder : NodeX Capital Discord Community
Visit Our Website : NodeX Capital Official
Hetzner : Deploy Hetzner VPS Get 20€ Bonus!
You can setup your Umee fullnode in few minutes by using automated script below.
wget -O umee.sh https://raw.githubusercontent.com/nodexcapital/mainnet/main/umee/umee.sh && chmod +x umee.sh && ./umee.sh
sudo systemctl stop umeed
cp $HOME/.umee/data/priv_validator_state.json $HOME/.umee/priv_validator_state.json.backup
rm -rf $HOME/.umee/data
curl -L https://snap.nodexcapital.com/umee/umee-latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.umee/
mv $HOME/.umee/priv_validator_state.json.backup $HOME/.umee/data/priv_validator_state.json
sudo systemctl start umeed && sudo journalctl -fu umeed -o cat
sudo systemctl stop umeed
cp $HOME/.umee/data/priv_validator_state.json $HOME/.umee/priv_validator_state.json.backup
umeed tendermint unsafe-reset-all --home $HOME/.umee
STATE_SYNC_RPC=https://rpc.umee.nodexcapital.com:443
STATE_SYNC_PEER=9cbd857db8203439f294baac260f3f0b677861bf@rpc.umee.nodexcapital.com:11756
LATEST_HEIGHT=$(curl -s $STATE_SYNC_RPC/block | jq -r .result.block.header.height)
SYNC_BLOCK_HEIGHT=$(($LATEST_HEIGHT - 2000))
SYNC_BLOCK_HASH=$(curl -s "$STATE_SYNC_RPC/block?height=$SYNC_BLOCK_HEIGHT" | jq -r .result.block_id.hash)
sed -i \
-e "s|^enable *=.*|enable = true|" \
-e "s|^rpc_servers *=.*|rpc_servers = \"$STATE_SYNC_RPC,$STATE_SYNC_RPC\"|" \
-e "s|^trust_height *=.*|trust_height = $SYNC_BLOCK_HEIGHT|" \
-e "s|^trust_hash *=.*|trust_hash = \"$SYNC_BLOCK_HASH\"|" \
-e "s|^persistent_peers *=.*|persistent_peers = \"$STATE_SYNC_PEER\"|" \
$HOME/.umee/config/config.toml
mv $HOME/.umee/priv_validator_state.json.backup $HOME/.umee/data/priv_validator_state.json
sudo systemctl start umeed && sudo journalctl -u umeed -f --no-hostname -o cat
After successful synchronization, we advise you to disable synchronization with state sync and restart the node
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" $HOME/.umee/config/config.toml
sudo systemctl restart umeed && journalctl -u umeed -f -o cat
PEERS="$(curl -sS https://rpc.umee.nodexcapital.com/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}' | sed -z 's|\n|,|g;s|.$||')"
sed -i -e "s|^persistent_peers *=.*|persistent_peers = \"$PEERS\"|" $HOME/.umee/config/config.toml
curl -Ls https://snap.nodexcapital.com/umee/addrbook.json > $HOME/.umee/config/addrbook.json
curl -Ls https://snap.nodexcapital.com/umee/genesis.json > $HOME/.umee/config/genesis.json