Kopi

Kopi is the latest project in DeFi and offers a decentralized exchange as well as its own supply managed coins (kCoins).
Chain ID: kopi-test-3 | Node Version: v0.4

Explorers

Public endpoints

Node Snapshot

Height: 1000485 (2024-06-09T10:11:40Z) | Size: 23 MB
Update & install aria2, lz4
sudo apt update && sudo apt install aria2 lz4 -y
Stop kopid service & reset
sudo service kopid stop
cp $HOME/.kopid/data/priv_validator_state.json $HOME/.kopid/priv_validator_state.json.backup
kopid tendermint unsafe-reset-all --home $HOME/.kopid --keep-addr-book
Download & extract snapshot
aria2c -x 8 -s 8 https://snapshots2.stakerhouse.com/kopi/kopi_1000485.tar.lz4 && lz4 -c -d kopi_1000485.tar.lz4 | tar -x -C $HOME/.kopid && rm kopi_1000485.tar.lz4
mv $HOME/.kopid/priv_validator_state.json.backup $HOME/.kopid/data/priv_validator_state.json
Start kopid service & monitor logs
sudo service kopid start && sudo journalctl -u kopid -f --output cat

State sync

Stop kopid service & reset
systemctl stop kopid
cp $HOME/.kopid/data/priv_validator_state.json $HOME/.kopid/priv_validator_state.json.backup
kopid tendermint unsafe-reset-all --home $HOME/.kopid --keep-addr-book
Configure state sync
SYNC_RPC="https://kopi-testnet-rpc.stakerhouse.com:443"
SYNC_PEER="d703d747acc2b406175a3ffe605cf2b01a55eabe@bea.stakerhouse.com:13456"
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/.kopid/config/config.toml

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

Seed Node

df949a46ae6529ae1e09b034b49716468d5cc7e9@testnet-seeds.stakerhouse.com:13456

Live peers

13 peers collected 2024-06-09T13:00:48Z
63c1044abe0e6d20b5b8b52fef75063ea9a9149d@95.216.172.247:26656,98c369b32a9b967dca0d30aff229335977c3b9ad@[2a01:4f8:221:5a7::2]:27656,a46648a31db0d355529adfe0602cd3f455f18ae9@135.181.149.122:26656,7cd3c14f1448a39aee1e975c86cac91e05c66041@[2a01:4f9:6b:25eb::2]:13656,195c81cd5074e61c5a980ff5d4f25dbddf41b359@37.27.83.130:26656,59aa82f000d381c8360e7eaeebd6ab23259ece44@78.46.19.116:27656,ba9c1eb3c7e74bdda9e182755ed57509e7615bb8@[2402:1f00:8300:909::]:13456,335b0153a3417712a49b1fde16bfc1505dab2828@65.21.57.254:26656,40c919be581696eb9d82abf3d9cf0ddf13dc6ec5@141.94.30.110:27656,bdaeac540a633784c59d3d5842c9812b7fb4e5bd@[2001:41d0:2:ad2e::1]:26656,67f916d300b14b2733d91a8bfc0539bceb0f6b9b@65.108.98.235:55256,905fc9ef6e263c8d2df58f00d5d90464d7dd340f@[2a01:4f8:2200:25db::2]:27656,13db38625857ed49d20fa6a28d7dab20664bf9fb@89.117.56.126:26056

Addrbook File

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

Genesis File

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