Mainnet

Chain ID: jackal-1 | Node Version: v3.0.0

Node Installation Guide

Update system and install build tools

sudo apt update

sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y

Install Go

rm -rf $HOME/go
rm -rf /usr/local/go
cd ~
curl https://dl.google.com/go/go1.20.1.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version

Install Node

cd $HOME

rm -rf canine-chain

git clone https://github.com/JackalLabs/canine-chain

cd canine-chain

git checkout v3.0.0

make install

canined version

Initialize Node

Replace NodeName with your own moniker.

canined init NodeName --chain-id=jackal-1

Download Genesis

curl https://ss.jackal.nodestake.top/genesis.json > $HOME/.canine/config/genesis.json 

Download addrbook

curl https://ss.jackal.nodestake.top/addrbook.json > $HOME/.canine/config/addrbook.json

Create Service

sudo tee /etc/systemd/system/canined.service > /dev/null <<EOF
[Unit]
Description=canined Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which canined) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable canined

Launch Node

sudo systemctl restart canined
journalctl -u canined -f

 

https://rpc.jackal.nodestake.top

 

https://api.jackal.nodestake.top

 

https://grpc.jackal.nodestake.top

https://ss.jackal.nodestake.top/genesis.json

Download Genesis File

curl -Ls https://ss.jackal.nodestake.top/genesis.json > $HOME/.canine/config/genesis.json 

https://ss.jackal.nodestake.top/addrbook.json

Download Addrbook

curl -Ls https://ss.jackal.nodestake.top/addrbook.json > $HOME/.canine/config/addrbook.json 

Restart Node

sudo systemctl restart canined
journalctl -u canined -f

Set Peers

peers=$(curl -s https://ss.jackal.nodestake.top/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.canine/config/config.toml

Restart Node

sudo systemctl restart canined
journalctl -u canined -f

Stop Node And Reset

sudo systemctl stop canined

canined tendermint unsafe-reset-all --home ~/.canine/ --keep-addr-book

Configure State Sync

SNAP_RPC="https://rpc.jackal.nodestake.top:443"

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \

BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \

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\"\"|" ~/.canine/config/config.toml

more ~/.canine/config/config.toml | grep 'rpc_servers'

more ~/.canine/config/config.toml | grep 'trust_height'

more ~/.canine/config/config.toml | grep 'trust_hash'

Download Wasm

rm -rf $HOME/.canine/wasm

curl -L https://snapshots.nodestake.top/jackal/wasm.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.canine

Restart Node

sudo systemctl restart canined
journalctl -u canined -f

We make the node snapshot every day at 02:00 UTC+0

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Off State Sync

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.canine/config/config.toml

Stop Node and Reset Date

sudo systemctl stop canined

cp $HOME/.canine/data/priv_validator_state.json $HOME/.canine/priv_validator_state.json.backup

rm -rf ~/.canine/data

rm -rf $HOME/.canine/wasm

canined tendermint unsafe-reset-all --home ~/.canine/ --keep-addr-book

Download Snapshot

SNAP_NAME=$(curl -s https://ss.jackal.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss.jackal.nodestake.top/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.canine

mv $HOME/.canine/priv_validator_state.json.backup $HOME/.canine/data/priv_validator_state.json

Restart Node

sudo systemctl restart canined
journalctl -u canined -f

If you have any questions, please reach out to our Discord

Testnet

Chain ID: lupulella-2 | Node Version: v3.1.0-rc.1

Node Installation Guide

Update system and install build tools

sudo apt update

sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y

Install Go

rm -rf $HOME/go
rm -rf /usr/local/go
cd ~
curl https://dl.google.com/go/go1.20.1.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version

Install Node

cd $HOME

rm -rf canine-chain

git clone https://github.com/JackalLabs/canine-chain

cd canine-chain

git checkout v3.1.0-rc.1

make install

canined version

Initialize Node

Replace NodeName with your own moniker.

canined init NodeName --chain-id=lupulella-2

Download Genesis

curl https://ss-t.jackal.nodestake.top/genesis.json > $HOME/.canine/config/genesis.json 

Download addrbook

curl https://ss.jackal.nodestake.top/addrbook.json > $HOME/.canine/config/addrbook.json

Create Service

sudo tee /etc/systemd/system/canined.service > /dev/null <<EOF
[Unit]
Description=canined Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which canined) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable canined

Launch Node

sudo systemctl restart canined
journalctl -u canined -f

 

https://rpc-t.jackal.nodestake.top

 

https://api-t.jackal.nodestake.top

 

https://grpc-t.jackal.nodestake.top

https://ss-t.jackal.nodestake.top/genesis.json

https://ss-t.jackal.nodestake.top/addrbook.json

SNAP_RPC="https://rpc-t.jackal.nodestake.top:443"

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \

BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \

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 ~/.canine/

 

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\"\"|" ~/.canine/config/config.toml

more ~/.canine/config/config.toml | grep 'rpc_servers'

more ~/.canine/config/config.toml | grep 'trust_height'

more ~/.canine/config/config.toml | grep 'trust_hash'

 

rm -rf $HOME/.canine/wasm

curl -L https://ss-t.jackal.nodestake.top/wasm.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.canine

 

sudo systemctl restart canined

journalctl -u canined -f -o cat

sudo apt update

sudo apt-get install snapd lz4 -y

 

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.canine/config/config.toml

sudo systemctl stop canined

rm -rf ~/.canine/data

rm -rf $HOME/.canine/wasm

canined tendermint unsafe-reset-all --home ~/.canine/

SNAP_NAME=$(curl -s https://ss-t.jackal.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss-t.jackal.nodestake.top/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.canine

sudo systemctl restart canined

journalctl -f -u canined