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
  1. Learn
  2. Infrastructure

Startup script

PreviousNodesNextLicense

Last updated 3 years ago

To start NodeChain, a folder with everything you need is provided. This scripts folder contains the executable that starts both the connector and the nodes.

The script is responsible for starting the Connector, the nodes and sending the requests to register these nodes in the Connector.

Folder structure

There are three files that are important to recognize:

  • nodechain.py: NodeChain executable

  • defaultConfig.json: Template file with the default parameters of the application.

  • config.json: Configurable file with the default parameters of the application.

The defaultConfig.json file is a template used to mantain the default configuration. In case you want to change the default configuration you have to add the changes to the config.json file.

Use the guides to learn how to get the full potential of the script.

Using command-line script
Startup Script flowchart