NodeChain EN
  • NodeChain
  • Learn
    • About NodeChain
    • Infrastructure
      • Connector
        • Wrapper APIs
      • Nodes
      • Startup script
    • License
    • Ecosystem
      • Supported APIs
      • Integrations
      • Acknowledgments
  • Develop
    • Quick start
      • Initial setup
      • Using command-line script
        • Commands
    • How-to
      • Run tests locally
      • Lint automatically with hooks
      • Integrate a new Blockchain/API
      • Connect to a public node
    • Wrapper API definition file
    • Contributing
  • Reference
    • API Reference
      • Admin
      • General Endpoints
      • REST Wrapper API
        • Bitcoin Cash
        • Bitcoin
        • Ethereum
          • ERC-20
      • JSON-RPC Wrapper API
        • Bitcoin Cash
        • Bitcoin
        • Ethereum
          • ERC-20
      • Real-Time Wrapper API
        • Bitcoin
        • Ethereum
Powered by GitBook
On this page
  • Prerequisites
  • Installation
  • Download the project
  • Install dependencies
  • Run NodeChain
  1. Develop
  2. Quick start

Initial setup

PreviousQuick startNextUsing command-line script

Last updated 3 years ago

This tutorial uses a fresh installation of NodeChain.

Prerequisites

To install NodeChain, it is necessary to have the following software installed:

  • >= 3.6

Installation

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Download the project

The first thing to do is to download the project from GitHub. To do this we will use the command-line:

$ git clone git@github.com:swapper-org/NodeChain.git

Install dependencies

Depending on your setup, you will need to install the requirements.txt file dependencies if you have not installed them previously:

# Go to the scripts folder
$ cd scripts

# Install via pip
$ pip install -r "requirements.txt"

The scripts folder contains all the files necessary for the installation and use of NodeChain.

Run NodeChain

You are ready to start your node. Just type:

$ python3 nodechain.py start

# or

$ ./nodechain.py start

You need to be in the scripts folder to run nodechain.py file. If you want to run NodeChain as a system command go to the "" section

Docker
Docker-compose
Python3
Pip
How-to