Install Binaries
This guide will explain how to install the binaries: bnbchaind
and bnbcli
, onto your server. With these installed on a server, you can participate in the mainnet or testnet as a Full Node. Full Nodes of Binance Chain also help the network by accepting transactions from other nodes and then relaying them to the core Binance network.
Supported Platforms
We support running a full node on Mac OS
, Windows
and Linux
.
Option One: Installation Script
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.lightd
orbnbchaind
)
# One-line install
sh <(wget -qO- https://raw.githubusercontent.com/binance-chain/node-binary/master/install.sh)
bnbchain
, bnbcli
and tbnbcli
binaries. Verify that everything is OK:
$ bnbchaind version
$ bnbcli version
Option Two: Manual Installation
We currently use this repo to store historical versions of the compiled node-binaries
.
- Install Git LFS
Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
Please go to https://git-lfs.github.com/ and install git lfs
.
- Download Binary with Git LFS:
git lfs clone https://github.com/binance-chain/node-binary.git
Please go to changelog to get the information about the latest release of full node version.
Go to directory according to the network you want to join in.
- Replace the
network
variable withtestnet
orprod
in the following command:
cd node-binary/fullnode/{network}/{version}
Next
Now you can join the mainnet, the public testnet or create you own testnet