RPC https://umee-rpc.theamsolutions.info | API https://umee-api.theamsolutions.info
Telegram Bot / Notification service Guide for Validator - LINK
TMKMS Remote signer service - LINK
NODE SETUP GUIDE
Install GO & Dependencies HERE
cd $HOME
git clone https://github.com/umee-network/umee.git
cd umee
ver=$(curl -s https://umee-rpc.theamsolutions.info/abci_info | jq -r ."result"."response"."version" | tr -d HEAD-)
git checkout v${ver}
make install
umeed init <NODE_NAME> --chain-id umee-1
wget -qO $HOME/.umee/config/genesis.json https://raw.githubusercontent.com/umee-network/umee/main/networks/umee-1/genesis.json
#check genesis hash
sha256sum $HOME/.umee/config/genesis.json
#right output: 40bebf4604fe96eaa1987f1a9488934c273d4e66e3956d5f5a8c5a3c393ab6a0
sed -i 's/minimum-gas-prices = ""/minimum-gas-prices = "0.1uumee"/g' ~/.umee/config/app.toml
#create service file
sudo tee /etc/systemd/system/umeed.service << EOF
[Unit]
Description=Umee-Mainnet
After=network-online.target
#
[Service]
User=$USER
ExecStart=$(which umeed) start
RestartSec=10
Restart=on-failure
LimitNOFILE=65535
#
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable umeed.service
STATE SYNC SERVICE
Please make sure You have latest, officially launched version of Umee binaries.
sudo systemctl stop umeed.service
umeed tendermint unsafe-reset-all --home $HOME/.umee
SNAP_RPC="https://umee-rpc.theamsolutions.info:443"; \
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
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" $HOME/.umee/config/config.toml; \
wget -qO $HOME/.umee/config/addrbook.json https://snapshots.theamsolutions.info/umee-main-addr.json
sudo systemctl restart umeed.service
sudo journalctl -u umeed.service -f -o cat
DATA SNAPSHOT SERVICE
(updated every 6 hrs.)
#check snapshot info : curl -s https://snapshots.theamsolutions.info | egrep -o ">umee-snap*.*tar" | tr -d ">"
snap=$(curl -s https://snapshots.theamsolutions.info | egrep -o ">umee-snap*.*tar" | tr -d ">")
wget -P $HOME https://snapshots.theamsolutions.info/${snap}
sudo systemctl stop umeed
mv $HOME/.umee/data/priv_validator_state.json $HOME
rm -rf $HOME/.umee/data
tar -xf $HOME/${snap} -C $HOME/.umee
rm $HOME/${snap}
mv $HOME/priv_validator_state.json $HOME/.umee/data
wget -q -O $HOME/.umee/config/addrbook.json https://snapshots.theamsolutions.info/umee-main-addr.json
sudo systemctl restart umeed
journalctl -u umeed -fn 50 -o cat
PRICE FEEDER SETUP
Create Umee key for Price Feeder and fund it with some tokens (100 for example)
Save mnemonic in save place
cd $HOME
git clone https://github.com/ojo-network/price-feeder
cd price-feeder
git checkout umee/v2.3.0
make install
#download recommended version of config (wont be redundant to double check config actuality at Discord)
mkdir $HOME/pfd-config/
curl -s https://raw.githubusercontent.com/ojo-network/price-feeder/umee/price-feeder.example.toml > $HOME/pfd-config/price-feeder.toml
curl -s https://raw.githubusercontent.com/ojo-network/price-feeder/umee/umee-provider-config/currency-pairs.toml >> $HOME/pfd-config/price-feeder.toml
echo "#">> $HOME/pfd-config/price-feeder.toml
curl -s https://raw.githubusercontent.com/ojo-network/price-feeder/umee/umee-provider-config/deviation-thresholds.toml >> $HOME/pfd-config/price-feeder.toml
echo "#" >> $HOME/pfd-config/price-feeder.toml
curl -s https://raw.githubusercontent.com/ojo-network/price-feeder/umee/umee-provider-config/endpoints.toml >> $HOME/pfd-config/price-feeder.toml
#open file $HOME/test/price-feeder.toml and set right values as commented below only for mentioned fields
[account]
address = "umee1..." # your newly created key for PFD
chain_id = "umee-1"
validator = "umeevaloper..." #your Validator valoper address
[keyring]
backend = "os"
dir = "home_dir" # path to $HOME/.umee
pass = "key_ring_pass" # your keyring password
[telemetry]
global_labels = [["chain-id", "umee-1"]] # set Umee chain id for telemetry
#create pfd.service file
PFD_PASS="your-keyring-pass"
sudo tee /etc/systemd/system/price-feeder.service << EOF
Description=Price-Feeder
After=network.target
[Service]
User=$USER
Environment=PRICE_FEEDER_PASS="$PFD_PASS"
ExecStart=$(which price-feeder) $HOME/pfd-config/price-feeder.toml --log-level debug
RestartSec=10
Restart=on-failure
Type=simple
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
#launch pfd
sudo systemctl daemon-reload
sudo systemctl enable price-feeder.service
sudo systemctl start price-feeder.service
#register PFD acc to the chain and restart
UMEE_KEY="umee1..." # validator main wallet key
PFD_KEY="umee1..." # PFD key
umeed tx oracle delegate-feed-consent $UMEE_KEY $PFD_KEY --chain-id=umee-1 --fees 5000uumee
sudo systemctl restart pfd.service
journalctl -u pfd.service -fn 50 -o cat
GOOD LUCK
AM Solutions © Copyright. All rights reserved.
We need your consent to load the translations
We use a third-party service to translate the website content that may collect data about your activity. Please review the details in the privacy policy and accept the service to view the translations.