LINKS

**Github**
[<https://github.com/umee-network/umee>](<https://github.com/umee-network/umee>)
[](<https://github.com/umee-network/testnets/tree/main/networks/canon-1>)
**Explorers**
[<https://explorer.network.umee.cc/canon-3>](<https://explorer.network.umee.cc/canon-3>)

Release Compatibility

# git checkout v6.7.4-rc1
umeed version --long | tail -n7
#commit: e1ae936672ba0b84956faf974a58c5392d37cc9e

# git checkout umee/v2.4.4-rc1
price-feeder version 

1. Install and sync umee

Install dependencies

# Update if needed
sudo apt update && sudo apt upgrade -y

# Insall packages
sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu -y

# install GO 
cd $HOME
ver="1.22.7"
wget "<https://golang.org/dl/go$ver.linux-amd64.tar.gz>"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile

go version

build umeed

cd $HOME
git clone <https://github.com/umee-network/umee.git>
cd umee
git checkout v6.7.4-rc1
make install

init umee

UMEE_CHAIN="canon-4"  # don't change
UMEE_HOME="$HOME/.umee"

echo "
export UMEE_CHAIN=${UMEE_CHAIN}
export UMEE_HOME=${UMEE_HOME}
" >> $HOME/.bash_profile

source $HOME/.bash_profile

# init
umeed init node --chain-id $UMEE_CHAIN --home $UMEE_HOME

# genesis
curl <https://canon-4.rpc.network.umee.cc/genesis> | jq .result.genesis > $UMEE_HOME/config/genesis.json

# reset
umeed tendermint unsafe-reset-all --home $UMEE_HOME

config node

umeed config chain-id $UMEE_CHAIN --home $UMEE_HOME 

# update peers
SEEDS="9aa8a73ea9364aa3cf7806d4dd25b6aed88d8152@umee-canon.seed.mzonder.com:10456"
sed -i "s/^seeds *=.*/seeds = \\"$SEEDS\\"/" $UMEE_HOME/config/config.toml

#PEER canon4 - [email protected]:10000

# min_gas
sed -i 's/^minimum-gas-prices *=.*/minimum-gas-prices = "0.1uumee"/' $UMEE_HOME/config/app.toml

# max_txs_bytes
sed -i 's/^max_txs_bytes *=.*/max_txs_bytes = 60000000/' $UMEE_HOME/config/config.toml

# mempool
sed -i '/\\[mempool\\]/, /^version =/ s/=.*/= "v1"/' $UMEE_HOME/config/config.toml

config pruning and snapshots

# config pruning
pruning_keep_recent="10000"
pruning_interval=$(shuf -n1 -e 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97)

sed -i "s/^pruning *=.*/pruning = \\"custom\\"/;\\
s/^pruning-keep-recent *=.*/pruning-keep-recent = \\"$pruning_keep_recent\\"/;\\
s/^pruning-interval *=.*/pruning-interval = \\"$pruning_interval\\"/" $UMEE_HOME/config/app.toml

sed -i 's/snapshot-interval *=.*/snapshot-interval = 5000/' $UMEE_HOME/config/app.toml

Change ports here if needed

create service

# create service
tee $HOME/umeed.service > /dev/null <<EOF
[Unit]
  Description=Umee
  After=network-online.target
[Service]
  User=$USER
  ExecStart=$(which umeed) start --home $UMEE_HOME
  Restart=on-failure
  RestartSec=10
  LimitNOFILE=65535
[Install]
  WantedBy=multi-user.target
EOF

sudo mv $HOME/umeed.service /etc/systemd/system/

sudo systemctl daemon-reload

start from state-sync

SNAP_RPC="<https://canon-4.rpc.network.umee.cc:443>"
#SNAP_RPC2="<http://canon-4.network.umee.cc:13001>"
#SNAP_RPC="<http://canon-4.network.umee.cc:13000>"

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \\
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \\
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

# if output ok - continue

sed -i "/\\[statesync\\]/, /^enable =/ s/=.*/= true/;\\
/^rpc_servers =/ s|=.*|= \\"$SNAP_RPC,$SNAP_RPC\\"|;\\
/^trust_height =/ s/=.*/= $BLOCK_HEIGHT/;\\
/^trust_hash =/ s/=.*/= \\"$TRUST_HASH\\"/" $UMEE_HOME/config/config.toml

**# download wasm folder**

sudo systemctl start umeed && journalctl -u umeed -f -o cat