Union

Union

A highly efficient zero-knowledge infrastructure for secure message passing, asset transfers, NFTs, and DeFi. It relies on consensus verification without the need for trusted third parties, oracles, multi-signatures, or MPC.
Chain ID: union-testnet-5 | Node Version: v0.18.0

Explorers

Public endpoints

Node Snapshot

Height: 530738 (2024-02-20T20:54:05Z) | Size: 7 MB
Update & install lz4
sudo apt update && sudo apt install lz4 -y
Stop uniond service & reset
sudo service uniond stop
cp $HOME/.union/data/priv_validator_state.json $HOME/.union/priv_validator_state.json.backup
uniond tendermint unsafe-reset-all --home $HOME/.union --keep-addr-book
Download & extract snapshot
curl -L https://snapshots2.stakerhouse.com/union/union_530738.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.union
mv $HOME/.union/priv_validator_state.json.backup $HOME/.union/data/priv_validator_state.json
Start uniond service & monitor logs
sudo service uniond start && sudo journalctl -u uniond -f --output cat

State sync

Stop uniond service & reset
systemctl stop uniond
cp $HOME/.union/data/priv_validator_state.json $HOME/.union/priv_validator_state.json.backup
uniond tendermint unsafe-reset-all --home $HOME/.union --keep-addr-book
Configure state sync
SYNC_RPC="https://union-testnet-rpc.stakerhouse.com:443"
SYNC_PEER="1b9dc27c648462335354ba8d1009993aec3c29ec@bea.stakerhouse.com:12356"
LATEST_HEIGHT=$(curl -s $SYNC_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \
TRUST_HASH=$(curl -s "$SYNC_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

sed -i \
  -e "s|^enable *=.*|enable = true|" \
  -e "s|^rpc_servers *=.*|rpc_servers = \"$SYNC_RPC,$SYNC_RPC\"|" \
  -e "s|^trust_height *=.*|trust_height = $BLOCK_HEIGHT|" \
  -e "s|^trust_hash *=.*|trust_hash = \"$TRUST_HASH\"|" \
  -e "s|^persistent_peers *=.*|persistent_peers = \"$SYNC_PEER\"|" \
  $HOME/.union/config/config.toml

mv $HOME/.union/priv_validator_state.json.backup $HOME/.union/data/priv_validator_state.json
Start uniond service & monitor logs
sudo systemctl restart uniond && \
sudo journalctl -u uniond -f --output cat

Seed Node

df949a46ae6529ae1e09b034b49716468d5cc7e9@testnet-seeds.stakerhouse.com:12356

Live peers

18 peers collected 2024-02-21T05:00:48Z
a414ec03a16f865741c97944d80d96f0ec90b28f@[2a01:4f9:3081:4e5f::2]:18656,93a66377d6792cdfda64ed33d39ef59d3678b418@[2a01:4f9:3a:1e6b::2]:17156,b409016a94e430a617b12c89f63dd599ff2f72d0@[2a01:4f9:2a:b2e::2]:22256,dba9e628be178c127761a8ddc2ab6705298bb286@[2a01:4f8:141:1d7::2]:20725,670421a4fdbbbb261376de3021b9fe4c35142a37@38.242.204.226:17156,b82b7b8d739c0869b0c2c369770a3adf66a126cb@198.244.179.173:26656,83f9441c94e22ecb0a5b2b28454a5fc7c5949a66@193.26.159.34:8656,d8a7ecbbd6361651435459f5b63840ba4c77850a@[2a01:4f8:190:9483::2]:20725,fa905dfa33a0b5bcf86337598c842d1881af6073@95.70.184.178:26656,c994d7a9bafe35fdb764b0928c9b05d0207fc318@206.189.24.98:26656,644c44ea5bc9555f683eeea7ca5787f56237d1e4@[2a01:4f9:c011:8bee::1]:17156,767eecf9c7cf62dc893a5bc789a20d0e36fd3e70@[2a01:4ff:f0:4dfc::1]:26657,ad65ae9b3f4cd24a8ea3ceb10dfd94ca054dc67e@[2a01:4f9:c011:b159::1]:26656,3c49c6470f98a4452674c11be41ca0ddb20e3d40@[2a01:4f9:3b:1ea7::2]:31656,8978a749557b044feb7ea659af71f09a561470de@[2a01:4f8:272:3cd5::2]:30656,4f35610bfbd5669852174c22a331329f4339dc2f@[2001:41d0:303:d245::]:39656,f7a84737c4a934cf4fb9d77609ad87337cc8e518@104.251.218.228:17156,2eca0aecf875acdbe72eeee739684866f28fedfe@138.2.22.183:20725

Addrbook File

curl -Ls https://snapshots2.stakerhouse.com/addrbook/union/addrbook.json > $HOME/.union/config/addrbook.json

Genesis File

curl -Ls https://snapshots2.stakerhouse.com/genesis/union/genesis.json > $HOME/.union/config/genesis.json