Welcome to validator AlxVoy ⚡ ANODE.TEAM



BeeZee

Links

Mainnet service

Explorers

Sync

RPC & API

Peers and seeds

Genesis and addrbook

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

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

Installation

Software Requirements

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

Install last binary

git clone https://github.com/bze-alphateam/bze.git
cd bze
git checkout v7.1.1
make install

Init the config files

bzed init <moniker> --chain-id beezee-1
bzed config chain-id beezee-1

Create a wallet

bzed keys add <wallet_name>

Download genesis and addrbook

curl https://anode.team/BeeZee/main/genesis.json > ~/.bze/config/genesis.json
curl https://anode.team/BeeZee/main/addrbook.json > ~/.bze/config/addrbook.json

Add peers, seed

SEEDS="6385d5fb198e3a793498019bb8917973325e5eb7@51.15.228.169:26656,ce25088267cef31f3be1ec03263524764c5c80bb@163.172.130.162:26656,102d28592757192ccf709e7fbb08e7dd8721feb1@51.15.138.216:26656,f238198a75e886a21cd0522b6b06aa019b9e182e@51.15.55.142:26656,2624d40b8861415e004d4532bb7d8d90dd0e6e66@51.15.115.192:26656,d36f2bc75b0e7c28f6cd3cbd5bd50dc7ed8a0d11@38.242.227.150:26656"
PEERS=""
sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.bze/config/config.toml

Add min gas

sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0ubze\"/" $HOME/.bze/config/app.toml

Create the service file

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

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

[Install]
WantedBy=multi-user.target
EOF

Load service and start

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

Create Validator

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

State-Sync

SNAP_RPC=https://beezee.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 bzed && bzed tendermint unsafe-reset-all --home $HOME/.bze --keep-addr-book
peers="246036506f4dc3905622a7c2d34553c321f21b7a@65.109.28.177:29576"
sed -i.bak -e  "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.bze/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/.bze/config/config.toml
sudo systemctl restart bzed && journalctl -fu bzed -o cat