March 1, 2023
Гайд по установке ноды Babylon
ℹ️ Наш Telegram-канал: https://t.me/pronodes
wget https://golang.org/dl/go1.19.2.linux-amd64.tar.gz sudo tar -C /usr/local -xzf go1.19.2.linux-amd64.tar.gz export GOROOT=/usr/local/go export GOPATH=$HOME/go export GO111MODULE=on export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin go version sudo apt install git build-essential ufw curl jq snapd --yes
2. Скачиваем репозиторий и устанавливаем ноду
git clone https://github.com/babylonchain/babylon cd babylon git checkout v0.5.0 make install
3. Проверяем версию, должна быть v0.5.0
babylond version
babylond init <ИМЯ_НОДЫ> --chain-id bbn-test1
wget https://github.com/babylonchain/networks/raw/main/bbn-test1/genesis.tar.bz2 tar -xjf genesis.tar.bz2 && rm genesis.tar.bz2 mv genesis.json ~/.babylond/config/genesis.json
SEEDS="[email protected]:26656,[email protected]:26656" sed -i 's|^seeds *=.*|seeds = "'$SEEDS'"|; s|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.babylond/config/config.toml
sudo tee /etc/systemd/system/babylond.service > /dev/null << EOF [Unit] Description=Babylon Node After=network-online.target [Service] User=$USER ExecStart=$(which babylond) start Restart=on-failure RestartSec=10 LimitNOFILE=10000 [Install] WantedBy=multi-user.target EOF
sudo systemctl daemon-reload sudo systemctl enable babylond sudo systemctl start babylond
journalctl -fu babylond -o cat
rm $(which babylond) rm -rf babylon .babylond rm /etc/systemd/system/babylond.service
👾 Наш валидатор - https://stakeme.io/
🔥 New-Ноды под ключ-https://nodesme.io
💬 Чат- https://t.me/+IhRoXgkqO28yNDVi
✅ Twitter (eng) - https://twitter.com/ProNodes_val
✅ Twitter (ru) - https://twitter.com/pro_nodes
✅ Teletype (eng) - https://teletype.in/@stakeme.io
✅ Teletype (ru) - https://teletype.in/@pronodes
✅ Mirror (eng) -https://mirror.xyz/0x58fC64C4d35049dD0Da5a762E325c6B1D9bC9Fa0
✅ Our telegram - https://t.me/pronodes