Binance Chain is a blockchain developed by Binance and its community, that focuses on building a performant matching engine and exchange over a decentralized network.
Binance Chain clients are released as compiled executables in this repo, with a few variants:
- Full Node: downloads full blockchain and relays transactions
- Light Client: does not sync state or relay transactions
For more on which client to run, see Light Client vs Full Node.
We have a community-maintained installer script (install.sh) that takes care of chain directory setup. This uses the following defaults:
- Home folder in
~/.bnbchaind - Client executables stored in
/usr/local/bin(i.e.lightorbnbchaind)
# One-line install
sh <(wget -qO- https://raw.githubusercontent.com/onggunhao/node-binary/master/install.sh)In the future, we may release an official installer script
e.g.sh <(wget -qO- https://get.binance.org)
We currently use this repo to store historical versions of the compiled node-binaries.
- Step-by-step tutorial at full node docs
- Common issues when running a full node
- Step-by-step tutorial at light client docs
- Delete the
~/bnbchainddirectory and subdirectories - Delete the
bnbchaindorlightdexecutable
Example: If you installed using installation script:
rm -rf ~/.bnbchaind
rm /usr/local/bin/lightd
rm /usr/local/bin/bnbchaind