Giter Club home page Giter Club logo

node-binary's Introduction

Binance Chain Client

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.

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. light or bnbchaind)
# 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)

Docker node

Building locally

git clone https://github.com/binance-chain/node-binary.git
cd node-binary/docker && docker build . -t binance/binance-node

Run interactively

docker run --rm -it --ulimit nofile=16000:16000 binance/binance-node

Run as daemon

ufw allow 27146/tcp
docker run -d --name binance-node -v binance-data:/opt/bnbchaind -e "BNET=prod" -p 27146:27146 -p 27147:27147 -p 26660:26660 --restart unless-stopped --security-opt no-new-privileges --ulimit nofile=16000:16000 binance/binance-node

For more details see README.md in the docker directory.

Manual Installation

We currently use this repo to store historical versions of the compiled node-binaries.

Running a Full Node

Running a Light Client

Uninstalling

  • Delete the ~/bnbchaind directory and subdirectories
  • Delete the bnbchaind or lightd executable

Example: If you installed using installation script:

rm -rf ~/.bnbchaind
rm /usr/local/bin/lightd
rm /usr/local/bin/bnbchaind

Common Issues and Solutions

https://docs.binance.org/fullnodeissue.html

Tools

  1. Airdrop Tool
  2. Token Issue&Listing GUI

Resrouces

node-binary's People

Contributors

chainwhisper avatar unclezoro avatar yutianwu avatar faddat avatar ackratos avatar rickyyangz avatar onggunhao avatar jpthor avatar darren-liu avatar voron avatar varnav avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.