Juno

Uptime Checker Monitoring Bot

@JunoUpTime_bot

*Without installing any software *Pings you when your validator starts skipping blocks to keep you out of jail *Сan tell you about the time left before being sent to jail. *Clear and pleasant GUI *Validator status check.

PUBLIC API

Mainnet

RPC
    https://juno.web3validator.info:28257
LCD (Rest) API
    https://juno.web3validator.info:1317
GRPC
    https://juno.web3validator.info:9090

PUBLIC API

Testnet

RPC
    http://juno-testnet.web3validator.info:20087
LCD (Rest) API
    http://juno-testnet.web3validator.info:1317
GRPC
    http://juno-testnet.web3validator.info:9090

Install binary

You can check new version here (New_version_bin)

cd $HOME
git clone https://github.com/CosmosContracts/juno.git -b v12.0.0
cd $HOME/juno
make install

Genesis

wget http://juno.web3validator.info/genesis_juno.json -O $HOME/.juno/config/genesis.json

Addrbook

wget http://juno.web3validator.info/addrbook_juno.json -O $HOME/.juno/config/addrbook.json

You need to install junod.service

wget http://juno.web3validator.info/junod.service -P /etc/systemd/system/

If you want to quickly catch up with the network, use this State Sync

sudo systemctl start junod && sudo journalctl -u junod -f --no-hostname -o cat

State sync

SNAP_RPС="http://juno.web3validator.info:28257"
peers="a81c0e466aeaf1e785665f6ecc68bd5ca3d95b0e@juno.web3validator.info:28256"

Let's put the height and trusthash to the-> config.toml

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\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.juno/config/config.toml
sed -i.bak -e  "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.juno/config/config.toml

Reset the database

sudo systemctl stop junod && 
junod tendermint unsafe-reset-all --home $HOME/.juno --keep-addr-book

Restart node and check the logs

sudo systemctl start junod && sudo journalctl -u junod -f --no-hostname -o cat

State Sync Testnet

SNAP_RPС="http://juno-testnet.web3validator.info:20087"
peers="a81c0e466aeaf1e785665f6ecc68bd5ca3d95b0e@juno-testnet.web3validator:20086"

Let's put the height and trusthash to the -> config.toml

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\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.juno/config/config.toml
sed -i.bak -e  "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.juno/config/config.toml

Reset the database

sudo systemctl stop junod && 
junod tendermint unsafe-reset-all --home $HOME/.juno --keep-addr-book

Restart node and check the logs

sudo systemctl start junod && sudo journalctl -u junod -f --no-hostname -o cat

Now part of the validator’s commission goes to help the people of 🇺🇦 Ukraine who suffered from the war. Delegate now!