Composable

Delegate to us
Chain-ID: centauri-1
Latest Node Version: v6.4.3
Latest Block Height:

Lend, borrow and earn with an autonomous credit protocol in the Cosmos universe. Open to all, closed to none.


Binary: realio-networkd
Denom: ario
Symbol: RIO
Exponent: 18
Folder Chain: .realio-network
Key management
centaurid keys add centaurid keys add  --recovercentaurid keys listcentaurid keys delete centaurid keys export centaurid keys import  .backup
Check balance
centaurid q bank balances $(centaurid keys show  -a)
Service
sudo journalctl -u centaurid -f --no-hostname -o catsudo systemctl start centauridsudo systemctl stop centauridsudo systemctl restart centauridsudo systemctl status centauridsudo systemctl daemon-reloadsudo systemctl enable centauridsudo systemctl disable centauridcentaurid status 2>&1 | jq .SyncInfoecho $(centaurid tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.banksy/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')curl -sS http://localhost:657/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}'
Validator management















Create Validator
centaurid tx staking create-validator \
--amount=000000000000ppica \
--moniker="" \
--pubkey=$(centaurid tendermint show-validator) \
--identity="" \
--details="" \
--website="" \
--security-contact= \
--chain-id=centauri-1 \
--commission-rate=0. \
--commission-max-rate=0.20 \
--commission-max-change-rate=0. \
--min-self-delegation=1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
Edit Validator
centaurid tx staking edit-validator \
--new-moniker="" \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica" -y
centaurid tx staking edit-validator \
--identity="" \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--details="" \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--commission-rate=0. \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--new-moniker="" \
--identity="" \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--new-moniker="" \
--details="" \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--new-moniker="" \
--commission-rate=0. \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--identity="" \
--details="" \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--identity="" \
--commission-rate=0. \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--details="" \
--commission-rate=0. \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--new-moniker="" \
--identity="" \
--commission-rate=0. \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--new-moniker="" \
--details="" \
--commission-rate=0. \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--identity="" \
--details="" \
--commission-rate=0. \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--commission-rate=0. \
--chain-id=centauri-1 \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"
centaurid tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--website="" \
--security-contact= \
--chain-id=centauri-1 \
--commission-rate=0. \
--from= \
--gas-adjustment="1.4" \
--fees="30000000ppica"




centaurid status 2>&1 | jq .ValidatorInfocentaurid q staking validator $(centaurid keys show  --bech val -a)centaurid q slashing signing-info $(centaurid tendermint show-validator)centaurid tx slashing unjail --broadcast-mode=block --from  --chain-id centauri-1 --gas-adjustment="1.4" --fees="30000000ppica"centaurid q staking validators -oj --limit=2000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " 	 " + .description.moniker' | sort -gr | nl[[ $(centaurid q staking validator $(centaurid keys show  --bech val -a) -oj | jq -r .consensus_pubkey.key) = $(centaurid status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"centaurid q slashing signing-info $(centaurid tendermint show-validator)
Token management
centaurid tx distribution withdraw-all-rewards --from  --chain-id centauri-1 --gas-adjustment="1.4" --fees="30000000ppica"centaurid tx distribution withdraw-rewards $(centaurid keys show  --bech val -a) --commission --from  --chain-id centauri-1 --gas-adjustment="1.4" --fees="30000000ppica"centaurid tx staking delegate $(centaurid keys show  --bech val -a) 000000000000ppica --from  --chain-id centauri-1 --gas-adjustment="1.4" --fees="30000000ppica"centaurid tx staking redelegate $(centaurid keys show  --bech val -a)  000000000000ppica --from  --chain-id centauri-1 --gas-adjustment="1.4" --fees="30000000ppica"centaurid tx staking delegate  000000000000ppica --from  --chain-id centauri-1 --gas-adjustment="1.4" --fees="30000000ppica"centaurid tx staking unbond $(centaurid keys show  --bech val -a) 000000000000ppica --from  --chain-id centauri-1 --gas-adjustment="1.4" --fees="30000000ppica"centaurid tx bank send   000000000000ppica --from  --chain-id centauri-1 --gas-adjustment="1.4" --fees="30000000ppica"
Governance
View Proposal
centaurid query gov proposal 
Vote
centaurid tx gov vote   --from  --chain-id centauri-1 --gas-adjustment="1.4" --fees="30000000ppica"
Utility
Set Custom Port




CUSTOM_PORT=
sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${CUSTOM_PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${CUSTOM_PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${CUSTOM_PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${CUSTOM_PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${CUSTOM_PORT}660\"%" $HOME/.banksy/config/config.toml
sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${CUSTOM_PORT}317\"%; s%^address = \":8080\"%address = \":${CUSTOM_PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${CUSTOM_PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${CUSTOM_PORT}091\"%; s%^address = \"127.0.0.1:8545\"%address = \"0.0.0.0:${CUSTOM_PORT}545\"%; s%^ws-address = \"127.0.0.1:8546\"%ws-address = \"0.0.0.0:${CUSTOM_PORT}546\"%" $HOME/.banksy/config/app.toml
Enable Indexing usually enabled by default
sed -i -e 's|^indexer *=.*|indexer = "kv"|' $HOME/.banksy/config/config.toml
Disable Indexing
sed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.banksy/config/config.toml
Reset Chain Data
centaurid tendermint unsafe-reset-all --home $HOME/.banksy --keep-addr-book
Delete Node
WARNING! This action will remove all files related to the centaurid chain! Make sure you have backed up your priv_validator_key.json
sudo systemctl stop centaurid && \
sudo systemctl disable centaurid && \
rm /etc/systemd/system/centaurid.service && \
sudo systemctl daemon-reload && \
cd $HOME && \
rm -rf .banksy && \
rm -rf $(which centaurid)
Genesis
wget -O $HOME/.banksy/config/genesis.json "https://raw.githubusercontent.com/kynraze/service/main/mainnet/composable/genesis.json"
Addrbook
Update every 1h
wget -O $HOME/.banksy/config/addrbook.json "https://snap.kynraze.com/composable/addrbook.json"
List Peers:
PEERS= 
sed -i -e "s|^persistent_peers *=.*|persistent_peers = "$PEERS"|" $HOME/.banksy/config/config.toml
In case our endpoint experiences an issue, we use the Cosmos directory endpoint as a backup.
Api Endpoint
RPC Endpoint
gRPC Endpoint
Auto Installation
Script Info
Binary
:
FOLDER
:
Golang Version
:
Snapshot
:
From Stratch ||
wget -O auto-composable.sh https://raw.githubusercontent.com/kynraze/service/main/mainnet/composable/install-auto.sh && chmod +x auto-composable.sh && ./auto-composable.sh
With StateSync
With Snapshot ||

wget -O snapshot-composable.sh https://raw.githubusercontent.com/kynraze/service/main/mainnet/composable/install-snapshot.sh && chmod +x snapshot-composable.sh && ./snapshot-composable.sh

Manual Installation
Setting vars




COMPOSABLE_NODENAME=""

save and import variable

echo "export COMPOSABLE_NODENAME=$COMPOSABLE_NODENAME" >> $HOME/.bash_profile if [ ! $WALLET ]; then echo "export WALLET=wallet" >> $HOME/.bash_profile fi echo "export COMPOSABLE_CHAIN_ID=centauri-1" >> $HOME/.bash_profile source $HOME/.bash_profile

Install and update dependencies

sudo apt update && sudo apt upgrade -y && sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y

Install Go

ver="1.20" cd $HOME wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz" sudo rm -rf /usr/local/go sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz" rm "go$ver.linux-amd64.tar.gz" echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile source ~/.bash_profile

Check golang

go version

Install app

git clone https://github.com/notional-labs/composable-centauri.git cd composable-centauri git checkout v6.4.3 make install

Verify that Binary successfully installed

centaurid version --long

Custom Port (Optional)




CUSTOM_PORT= sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${CUSTOM_PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${CUSTOM_PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${CUSTOM_PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${CUSTOM_PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${CUSTOM_PORT}660\"%" $HOME/.banksy/config/config.toml sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${CUSTOM_PORT}317\"%; s%^address = \":8080\"%address = \":${CUSTOM_PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${CUSTOM_PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${CUSTOM_PORT}091\"%; s%^address = \"127.0.0.1:8545\"%address = \"0.0.0.0:${CUSTOM_PORT}545\"%; s%^ws-address = \"127.0.0.1:8546\"%ws-address = \"0.0.0.0:${CUSTOM_PORT}546\"%" $HOME/.banksy/config/app.toml

Config App

centaurid config chain-id $COMPOSABLE_CHAIN_ID centaurid config keyring-backend file centaurid config node tcp://localhost:657

Initialize

centaurid init $COMPOSABLE_NODENAME --chain-id $COMPOSABLE_CHAIN_ID

Get Genesis and Addrbook
Download genesis
wget -O $HOME/.banksy/config/genesis.json "https://raw.githubusercontent.com/kynraze/service/main/mainnet/composable/genesis.json"
Download Addrbook
wget -O $HOME/.banksy/config/addrbook.json "https://snap.kynraze.com/composable/addrbook.json"
Set Seeds and Peers

PEERS="" sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.banksy/config/config.toml sed -i -e "s|^seeds *=.*|seeds = \"\"|" $HOME/.banksy/config/config.toml

Config pruning

pruning="custom" pruning_keep_recent="100" pruning_keep_every="0" pruning_interval="10" sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.banksy/config/app.toml sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.banksy/config/app.toml sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.banksy/config/app.toml sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.banksy/config/app.toml

Create service file and start node
Create Service

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

[Service] User=$USER ExecStart=$(which centaurid) start --home $HOME/.banksy Restart=on-failure RestartSec=3 LimitNOFILE=65535

[Install] WantedBy=multi-user.target EOF

Download Snapshot (Optional)

curl -o - -L https://snap.kynraze.com/composable/snapshot-latest.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.banksy

Start Service

sudo systemctl daemon-reload sudo systemctl enable centaurid sudo systemctl restart centaurid sudo journalctl -fu centaurid -o cat

Snapshots are taken automatically every 6 hours
Snapshot Info
Block Height
:
Size
:
Block Time
:
Indexer
:
Pruning
:
pruning-keep-recent
:
pruning-keep-every
: 0
pruning-interval
:
Currently, we do not provide snapshots
Instruction
# Update & install lz4(Required)
sudo apt install snapd lz4 -y

# Reset Chain Data
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" $HOME/.banksy/config/config.toml
sudo systemctl stop centaurid
cp $HOME/.banksy/data/priv_validator_state.json $HOME/.banksy/priv_validator_state.json.backup
rm -rf $HOME/.banksy/data

# Download Data Snapshot
curl -o - -L https://snap.kynraze.com/composable/snapshot-latest.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.banksy
mv $HOME/.banksy/priv_validator_state.json.backup $HOME/.banksy/data/priv_validator_state.json

# Restart
sudo systemctl restart centaurid
sudo journalctl -fu centaurid -o cat
About State Sync
With fast sync a node is downloading all of the data of an application from genesis and verifying it. With state sync your node will download data related to the head or near the head of the chain and verify the data. This leads to drastically shorter times for joining a network.
State Sync Configuration
Pruning
:
pruning-keep-recent
:
pruning-keep-every
: 0
pruning-interval
:
Instruction
systemctl stop centaurid
centaurid tendermint unsafe-reset-all --home $HOME/.banksy --keep-addr-book

STATE_SYNC_RPC=""

LATEST_HEIGHT=$(curl -s $STATE_SYNC_RPC/block | jq -r .result.block.header.height) \
SYNC_BLOCK_HEIGHT=$(($LATEST_HEIGHT - 2000)) \
SYNC_BLOCK_HASH=$(curl -s "$STATE_SYNC_RPC/block?height=$SYNC_BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $SYNC_BLOCK_HEIGHT $SYNC_BLOCK_HASH

PEERS=""
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.banksy/config/config.toml

sed -i.bak -e "s|^enable *=.*|enable = true|" $HOME/.banksy/config/config.toml
sed -i.bak -e "s|^rpc_servers *=.*|rpc_servers = \"$STATE_SYNC_RPC,$STATE_SYNC_RPC\"|" \
$HOME/.banksy/config/config.toml
sed -i.bak -e "s|^trust_height *=.*|trust_height = $SYNC_BLOCK_HEIGHT|" \
$HOME/.banksy/config/config.toml
sed -i.bak -e "s|^trust_hash *=.*|trust_hash = \"$SYNC_BLOCK_HASH\"|" \
$HOME/.banksy/config/config.toml

systemctl restart centaurid && journalctl -fu centaurid -o cat