Run Binance Smart Chain Validator node on Linux

Run Binance Smart Chain Validator node on Linux
Binance Smart Chain Validator node

Binance Smart Chain (BSC) is a blockchain that runs in parallel to the Binance Chain. Binance Smart Chain boasts smart contract functionality and compatibility with the Ethereum Virtual Machine (EVM). BSC and BNB both are ran side by side.

Following set of instructions are taken from Binance.org


Feel free to jump to the section of your choice from below links.


BSC validator node Requirements

  • VPS running recent versions of Mac OS X or Linux.
  • IMPORTANT 2T GB of free disk space, solid-state drive(SSD), gp3, 8k IOPS, 250MB/S throughput, read latency <1ms
  • 16 cores of CPU and 64 gigabytes of memory (RAM)
  • Suggest m5zn.3xlarge instance type on AWS, or c2-standard-16 on Google cloud.
  • A broadband Internet connection with upload/download speeds of 10 megabyte per second

Run a BSC Validator Node

Chaindata Snapshot

Please download the chain data snapshot and extract to your home folder to speed up.

## Extract the data
unzip geth.zip -d /NAME_OF_YOUR_HOME/node &

Run a BSC Full-node with Sync From Snapshot

Sync From Snapshot

Download the pre-build binaries from release page or follow the instructions below:

# Linuxwget   $(curl -s https://api.github.com/repos/bnb-chain/bsc/releases/latest |grep browser_ |grep geth_linux |cut -d\" -f4)# MacOSwget   $(curl -s https://api.github.com/repos/bnb-chain/bsc/releases/latest |grep browser_ |grep geth_mac |cut -d\" -f4)

Download the config files

Download genesis.json and config.toml by:

wget   $(curl -s https://api.github.com/repos/bnb-chain/bsc/releases/latest |grep browser_ |grep mainnet |cut -d\" -f4)unzip mainnet.zip

Download snapshot

Download latest snapshot from Download site Follow the guide to structure the files.

Start BSC validator

# generate the consensus key and input the password
geth account new --datadir ./node

echo {your-password} > password.txt

geth --config ./config.toml --datadir ./node --syncmode snap -unlock {your-validator-address} --password password.txt  --mine  --allow-insecure-unlock  --cache 8000

Read more