Welcome to validator AlxVoy ⚡ ANODE.TEAM



Jackal

Links

Mainnet service

Explorers

Sync

RPC & API

Peers and seeds

Genesis and addrbook

Wasm

Service script (Install, State-Sync, Snapshot, Delete)

wget -O Jackal.sh https://anode.team/Jackal/main/Jackal.sh && chmod u+x Jackal.sh && ./Jackal.sh

Installation

Hardware Requirements

  • Memory 32GB
  • CPUs 4 Cores (modern CPU's)
  • Disk 1TB of storage (SSD or NVME)

Software Requirements

  • Prerequisite: go1.21+ required. ref
  • Prerequisite: git. ref

Install last binary

git clone https://github.com/JackalLabs/canine-chain.git
cd canine-chain
git checkout v3.2.1
make install

Init the config files

canined init <moniker> --chain-id jackal-1
canined config chain-id jackal-1

Create a wallet

canined keys add <wallet_name>

Download genesis and addrbook

curl https://anode.team/Jackal/main/genesis.json > ~/.canine/config/genesis.json
curl https://anode.team/Jackal/main/addrbook.json > ~/.canine/config/addrbook.json

Add peers, seed

SEEDS=$(wget https://raw.githubusercontent.com/JackalLabs/canine-mainnet-genesis/master/genesis/seeds.txt -q -O -)
PEERS=`curl -sL https://raw.githubusercontent.com/JackalLabs/canine-mainnet-genesis/master/genesis/peers.txt | sort -R | head -n 7 | awk '{print $1}' | paste -s -d, -`
sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.canine/config/config.toml

Add min gas

sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.002ujkl\"/" $HOME/.canine/config/app.toml

Create the service file

sudo tee /etc/systemd/system/canined.service > /dev/null <<EOF
[Unit]
Description=Jackal
After=network-online.target

[Service]
User=$USER
ExecStart=$(which canined) start
Restart=always
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target
EOF

Load service and start

sudo systemctl daemon-reload && sudo systemctl enable canined
sudo systemctl restart canined && journalctl -fu canined -o cat

Create Validator

canined tx staking create-validator \
  --amount=1000000ujkl \
  --pubkey=$(canined tendermint show-validator) \
  --moniker="<moniker>" \
  --identity="<identity>" \
  --website="<website>" \
  --details="<details>" \
  --security-contact="<contact>" \
  --chain-id="jackal-1" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --fees="400ujkl" \
  --from=<wallet_name>

State-Sync

SNAP_RPC=https://jackal.rpc.m.anode.team: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
sudo systemctl stop canined && canined tendermint unsafe-reset-all --home $HOME/.canine --keep-addr-book
peers="751c1c50e803aee2c0fb698e2103ccafc30d619f@173.214.171.102:26696"
sed -i.bak -e  "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.canine/config/config.toml
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/.canine/config/config.toml
curl -o - -L https://anode.team/Jackal/main/anode.team_jackal_wasm.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.canine/
sudo systemctl restart canined && journalctl -fu canined -o cat

SnapShot (every 6 hours)

sudo systemctl stop bcnad && \
cp $HOME/.canine/data/priv_validator_state.json $HOME/.canine/priv_validator_state.json.backup && \
rm -rf $HOME/.canine/data/
curl -o - -L https://anode.team/Jackal/main/anode.team_jackal.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.canine
curl -o - -L https://anode.team/Jackal/main/anode.team_jackal_wasm.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.canine/
mv $HOME/.canine/priv_validator_state.json.backup $HOME/.canine/data/priv_validator_state.json && \
sudo systemctl restart canined && journalctl -fu canined -o cat

Testnet service

Explorers

Sync

RPC & API

Peers and seeds

Genesis and addrbook

Wasm

Service script (Install, State-Sync, Snapshot, Delete)

wget -O Jackal.sh https://anode.team/Jackal/test/Jackal.sh && chmod u+x Jackal.sh && ./Jackal.sh

Installation

Hardware Requirements

  • Memory 32GB
  • CPUs 4 Cores (modern CPU's)
  • Disk 1TB of storage (SSD or NVME)

Software Requirements

  • Prerequisite: go1.21+ required. ref
  • Prerequisite: git. ref

Install last binary

git clone https://github.com/JackalLabs/canine-chain.git
cd canine-chain
git checkout v3.2.1
make install

Init the config files

canined init <moniker> --chain-id lupulella-2
canined config chain-id lupulella-2

Create a wallet

canined keys add <wallet_name>

Download genesis and addrbook

curl https://anode.team/Jackal/test/genesis.json > ~/.canine/config/genesis.json
curl https://anode.team/Jackal/test/addrbook.json > ~/.canine/config/addrbook.json

Add peers, seed

SEEDS=$(wget https://raw.githubusercontent.com/JackalLabs/canine-mainnet-genesis/master/genesis/seeds.txt -q -O -)
PEERS=`curl -sL https://raw.githubusercontent.com/JackalLabs/canine-mainnet-genesis/master/genesis/peers.txt | sort -R | head -n 7 | awk '{print $1}' | paste -s -d, -`
sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.canine/config/config.toml

Add min gas

sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.002ujkl\"/" $HOME/.canine/config/app.toml

Create the service file

sudo tee /etc/systemd/system/canined.service > /dev/null <<EOF
[Unit]
Description=Jackal Test
After=network-online.target

[Service]
User=$USER
ExecStart=$(which canined) start
Restart=always
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target
EOF

Load service and start

sudo systemctl daemon-reload && sudo systemctl enable canined
sudo systemctl restart canined && journalctl -fu canined -o cat

Create Validator

canined tx staking create-validator \
  --amount=1000000ujkl \
  --pubkey=$(canined tendermint show-validator) \
  --moniker="<moniker>" \
  --identity="<identity>" \
  --website="<website>" \
  --details="<details>" \
  --security-contact="<contact>" \
  --chain-id="lupulella-2" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --fees="400ujkl" \
  --from=<wallet_name>

State-Sync

SNAP_RPC=https://jackal.rpc.t.anode.team:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 100)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
sudo systemctl stop canined && canined tendermint unsafe-reset-all --home $HOME/.canine --keep-addr-book
peers="e0bbd062b09dd71a06edf96a446273d0e8bb3c45@144.76.97.251:26746"
sed -i.bak -e  "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.canine/config/config.toml
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/.canine/config/config.toml
curl -o - -L https://anode.team/Jackal/test/anode.team_jackal_wasm.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.canine/
sudo systemctl restart canined && journalctl -fu canined -o cat