Building From Source

In this brief walk-through we will show you how to build the NEO•ONE Node from source code.

This can be useful for local debugging and if you would like to make your own contribution to the node repository.



Once you have cloned the NEO•ONE repository (or preferably your own fork of the repository) you can run the following to build the node entry point

cd neo-one
yarn install
yarn build:node
cd  ./dist/neo-one/packages/neo-one-node-bin/bin/

yarn build:node will build a bin for the node as well as the @neo-one packages that it depends on. For this tutorial we will cd into the entry point’s build directory to save time. Running the new node then is as simple as

node neo-one-node


Configuration Reference

When running the node locally it is quite easy to apply a configuration file compared to docker since we don’t have to mount it to a container. An example configuration for syncing the node

## path/to/config.json
  "options": {
    "node": {
      "rpcURLs": {

can be run using

node neo-one-node --config /path/to/config.json

individual options can also be layered on top of our configuration

node neo-one-node --config /path/to/config.json --monitor.level=verbose

Finally you have the option of adding a .neo_one_noderc app configuration file anywhere in the app directory (recommended at /neo-one/) to apply you configuration by default; See rc.

Previous Article
Docker Compose
Next Article
Heroku Deployment