# Binance Smart Chain node

### Step 1: Download Binance Smart Chain node

BSC node can be downloaded from [GitHub](https://github.com/binance-chain/bsc/releases) or built from [sources](https://github.com/binance-chain/bsc#building-the-source). For the purposes of simplifying the process, this guide will only cover downloading a pre-built binary. It can be downloaded from the terminal using

```bash
$ wget https://github.com/binance-chain/bsc/releases/download/v1.1.0-beta/geth_linux
$ mv geth_linux geth
$ chmod +x geth
```

### Step 2: Downloading Binance Smart Chain configuration

Configuration can be obtained from [GitHub](https://github.com/binance-chain/bsc/releases) as well. It can be downloaded and extracted from the terminal as well using

```bash
$ wget https://github.com/binance-chain/bsc/releases/download/v1.1.0-beta/testnet.zip
$ unzip testnet.zip
```

### Step 3: Writing genesis state locally

In order to prepare the node for the start, initialize genesis state using

```bash
$ ./geth --datadir ./node init genesis.json
```

{% hint style="info" %}
You can replace `./node` with a path to where you want to store the node data
{% endhint %}

### Step 4: Starting the node

You can start the node in your current terminal session using

```bash
./geth --config ./config.toml --datadir ./node --cache 18000 --txlookuplimit 0 --ws --ws.api eth
```

{% hint style="warning" %}
Node launched this way, will close as soon as you end your terminal session. In order to make this node persistent, you should use `tmux`, `screen` or your initialization system of choice (`systemd`, `openrc`, etc.)
{% endhint %}
