2020-10-26 17:12:37 +00:00
|
|
|
# Build the beacon node
|
|
|
|
|
|
|
|
The beacon node connects to the eth2 network, manages the blockchain, and provides API's to interact with the beacon chain.
|
|
|
|
|
|
|
|
Importantly, you need to have built the beacon node in order to be able to import your keys.
|
|
|
|
|
|
|
|
*Todo: explain relationship between beacon node and validator client*
|
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
Before building and running the application, make sure you've gone through the [installed the required dependencies](./install.md).
|
|
|
|
|
|
|
|
## Building the node
|
|
|
|
|
2020-11-07 15:52:40 +00:00
|
|
|
### 1. Clone the nim beacon chain repository
|
2020-10-26 17:12:37 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
git clone https://github.com/status-im/nimbus-eth2
|
|
|
|
cd nimbus-eth2
|
|
|
|
```
|
|
|
|
|
2020-11-07 15:52:40 +00:00
|
|
|
### 2. Run the beacon node build process
|
2020-10-26 17:12:37 +00:00
|
|
|
|
|
|
|
To build the Nimbus beacon node and it's dependencies, run:
|
|
|
|
|
|
|
|
```
|
2020-11-07 18:00:31 +00:00
|
|
|
make nimbus_beacon_node
|
2020-10-26 17:12:37 +00:00
|
|
|
```
|
|
|
|
|