Upgrade proposal detected

Rebus Rebus

Welcome to Rebus, where TradFi and DeFi come hand in hand, an intersection bringing the two worlds together.

Investment in crypto assets is bound to grow, and naturally more people are turning to their traditional financial institutions expecting crypto services to be available. That’s where we come in, we'll assist in building the best crypto products possible for conventional financial establishments.

Installation (Ubuntu/Debian)

Install dependencies

sudo apt update
sudo apt install -y curl git jq lz4 build-essential
sudo rm -rf /usr/local/go
sudo curl -Ls https://go.dev/dl/go1.20.linux-amd64.tar.gz | sudo tar -C /usr/local -xz
tee -a $HOME/.profile > /dev/null << EOF
export PATH=$PATH:/usr/local/go/bin
EOF
source $HOME/.profile

Download/compile and install rebusd

cd $HOME
rm -rf rebus.core
git clone https://github.com/rebuschain/rebus.core.git
cd rebus.core

# Compile version v0.3.0
git checkout v0.3.0
make build
mkdir -p $HOME/.rebusd/cosmovisor/upgrades/v0.3.0/bin
mv build/rebusd $HOME/.rebusd/cosmovisor/upgrades/v0.3.0/bin/

Install cosmovisor and service

curl -Ls https://github.com/cosmos/cosmos-sdk/releases/download/cosmovisor%2Fv1.3.0/cosmovisor-v1.3.0-linux-amd64.tar.gz | tar xz
chmod 755 cosmovisor
sudo mv cosmovisor /usr/bin/cosmovisor

sudo tee /etc/systemd/system/rebusd.service > /dev/null << EOF
[Unit]
Description=Rebus Node Service
After=network-online.target
[Service]
User=$USER
ExecStart=/usr/bin/cosmovisor run start
Restart=on-failure
RestartSec=10
LimitNOFILE=8192
Environment="DAEMON_HOME=$HOME/.rebusd"
Environment="DAEMON_NAME=rebusd"
Environment="UNSAFE_SKIP_BACKUP=true"
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable rebusd

Initialize the node

MONIKER=""

ln -s $HOME/.rebusd/cosmovisor/upgrades/v0.3.0 $HOME/.rebusd/cosmovisor/current
sudo ln -s $HOME/.rebusd/cosmovisor/current/bin/rebusd /usr/local/bin/rebusd
rebusd config chain-id reb_1111-1
rebusd init $MONIKER --chain-id reb_1111-1
curl -Ls https://static.brocha.in/rebus-mainnet/genesis.json > $HOME/.rebusd/config/genesis.json
sed -i -e "s|^seeds *=.*|seeds = \"[email protected]:30548\"|" $HOME/.rebusd/config/config.toml
tee $HOME/.rebusd/data/priv_validator_state.json > /dev/null << EOF
{
  "height": "0",
  "round": 0,
  "step": 0
}
EOF
sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0.0001arebus\"|" $HOME/.rebusd/config/app.toml
sed -i -e "s|^pruning *=.*|pruning = \"custom\"|" $HOME/.rebusd/config/app.toml
sed -i -e "s|^pruning-keep-recent *=.*|pruning-keep-recent = \"3000\"|" $HOME/.rebusd/config/app.toml
sed -i -e "s|^pruning-keep-every *=.*|pruning-keep-every = \"0\"|" $HOME/.rebusd/config/app.toml
sed -i -e "s|^pruning-interval *=.*|pruning-interval = \"10\"|" $HOME/.rebusd/config/app.toml
sed -i -e "s|^snapshot-interval *=.*|snapshot-interval = \"1000\"|" $HOME/.rebusd/config/app.toml
sed -i -e "s|^snapshot-keep-recent *=.*|snapshot-keep-recent = \"2\"|" $HOME/.rebusd/config/app.toml

Start the service and check the log

sudo systemctl start rebusd
sudo journalctl -u rebusd -f --no-hostname -o cat