Skip to content
Validators
Support external chains
Binance

Binance

Instructions to set up your Binance node.

Requirements

Prerequisites

sudo apt-get install wget jq unzip aria2 lz4 -y

BSC geth

Check the appropriate version for the network accordingly in their docs (opens in a new tab) or choose the latest release (opens in a new tab)

# This is an example - check their docs and release page to opt for the right version
BSC_GETH_RELEASE=v1.1.18_hf
# verify correct version
echo $BSC_GETH_RELEASE
 
# create a temp dir for binaries
cd $HOME
mkdir binaries && cd binaries
 
# if you are on linux amd
wget https://github.com/bnb-chain/bsc/releases/download/$BSC_GETH_RELEASE/geth_linux
mv geth_linux geth
chmod +x *
sudo mv * /usr/bin/
# verify version
geth version
cd $HOME
mkdir -p $HOME/.bsc/config
cd $HOME/.bsc/config
wget https://github.com/bnb-chain/bsc/releases/download/$BSC_GETH_RELEASE/mainnet.zip
unzip mainnet.zip
rm mainnet.zip

Initialize the node or sync from snapshot

1. If you want to sync from genesis

cd $HOME
geth --datadir $HOME/.bsc init genesis.json

2. If you want to sync from snapshot - Mainnet Only

You find the snapshot links here (opens in a new tab) or here (opens in a new tab) to sync from snapshot

# change the url to latest snapshot available: you can find it in the links shared above
GETH_SNAPSHOT_URL=https://snapshots.48.club/geth.24761776.tar.lz4
cd $HOME/.bsc/
aria2c -s14 -x14