Nodes
Last updated
Last updated
NodeChain has the ability to initiate nodes on the blockchains it supports. Each node internally exposes its native JSON-RPC API to which the Wrapper APIs will make requests.
Each node is built through Docker-compose, being the node the grouping of several docker-compose services. These services depend on the architecture of each blockchain.
To keep the native component of the project as much as possible, official images are used. In case there is no official image for the service, a Dockerfile will be implemented to download and build the image from an official site.
The docker-composes infrastructure is divided into networks:
Regtest: Network focused on local development. Allows full flexibility when interacting with the blockchain.
Testnet: Blockchain test network
Mainnet: Blockchain main network
There is a possibility that the administrator wants to connect to a public node through a URL. This is possible due to the architecture of the Connector and the startup script.