Mainnet

Chain ID: centauri-1 | Node Version: v6.3.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
sudo rm -rf /usr/local/go
cd $HOME
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 composable-centauri

git clone https://github.com/notional-labs/composable-centauri

cd composable-centauri

git checkout v6.3.1

make install

centaurid version

Initialize Node

Replace NodeName with your own moniker.

centaurid init NodeName --chain-id=centauri-1

Download Genesis

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

Download addrbook

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

Create Service

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

Download Snapshot(optional)

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

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

Launch Node

sudo systemctl restart centaurid
journalctl -u centaurid -f

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

 

https://rpc.composable.nodestake.top

 

https://api.composable.nodestake.top

 

grpc.composable.nodestake.top:9090

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

Download Genesis File

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

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

Download Addrbook

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

Restart Node

sudo systemctl restart banksyd
journalctl -u banksyd -f

Set Peers

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

Restart Node

sudo systemctl restart banksyd
journalctl -u banksyd -f

Stop Node And Reset

sudo systemctl stop centaurid

centaurid tendermint unsafe-reset-all --home ~/.banksy/ --keep-addr-book

Configure State Sync

SNAP_RPC="https://rpc.composable.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\"\"|" ~/.banksy/config/config.toml

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

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

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

Download Wasm

rm -rf ~/.banksy/wasm

rm -rf ~/.banksy/wasm_client_data

curl -o - -L https://ss.composable.nodestake.top/wasm.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.banksy

curl -o - -L https://ss.composable.nodestake.top/wasm_client_data.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.banksy

Restart Node

sudo systemctl restart centaurid
journalctl -u centaurid -f

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Off State Sync

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

Stop Node and Reset Date

sudo systemctl stop centaurid

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

rm -rf ~/.banksy/data

centaurid tendermint unsafe-reset-all --home ~/.banksy/ --keep-addr-book

Download Snapshot

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

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

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

Restart Node

sudo systemctl restart centaurid
journalctl -u centaurid -f

Get old Snapshots

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

Testnet

Chain ID: banksy-testnet-3 | Node Version: v6.0.1-ics

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
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.19.5.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 composable-testnet

git clone https://github.com/notional-labs/composable-testnet.git

cd composable-testnet

git checkout v6.0.1-ics

make install

centaurid version

Initialize Node

Replace NodeName with your own moniker.

centaurid init NodeName --chain-id=banksy-testnet-3

Download Genesis

curl -Ls https://ss-t.composable.nodestake.top/genesis.json > $HOME/.banksy/config/genesis.json 

Download addrbook

curl -Ls https://ss-t.composable.nodestake.top/addrbook.json > $HOME/.banksy/config/addrbook.json

Create Service

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

Download Snapshot(optional)

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

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

Launch Node

sudo systemctl restart centaurid
journalctl -u centaurid -f

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

 

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

 

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

 

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

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

Download Genesis File

curl -Ls https://ss-t.composable.nodestake.top/genesis.json > $HOME/.banksy/config/genesis.json 

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

Download Addrbook

curl -Ls https://ss-t.composable.nodestake.top/addrbook.json > $HOME/.banksy/config/addrbook.json 

Restart Node

sudo systemctl restart centaurid
journalctl -u centaurid -f

Set Peers

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

Restart Node

sudo systemctl restart centaurid
journalctl -u centaurid -f

Stop Node And Reset

sudo systemctl stop centaurid

centaurid tendermint unsafe-reset-all --home ~/.banksy/ --keep-addr-book

Configure State Sync

SNAP_RPC="https://rpc-t.composable.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\"\"|" ~/.banksy/config/config.toml

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

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

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

Restart Node

sudo systemctl restart centaurid
journalctl -u centaurid -f

We make the node snapshot every 6h

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Off State Sync

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

Stop Node and Reset Date

sudo systemctl stop centaurid

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

rm -rf ~/.banksy/data

centaurid tendermint unsafe-reset-all --home ~/.banksy/ --keep-addr-book

Download Snapshot

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

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

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

Restart Node

sudo systemctl restart centaurid
journalctl -u centaurid -f

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