HowTo Integrate NodeCore with a Service
See: Developer Guide
This article assumes familiarity with NodeCore, namely you can run a full node, NC_CLI, etc..
NodeCore can be integrated into other applications. This page offers prescriptive guidance
The easiest development path is to run a full node and expose functionality through the GRPC API.
Connect to NodeCore via gRPC
External services can connect to NodeCore via grpc. This allows automation for almost any command available in the NodeCore CommandLine, such as viewing blocks or sending transactions.
See: GRPC for details and code samples to connect via GRPC.
When running an application node, you may want to configure several options:
- Enabled remote connections via IP whitelisting
- Specify peer connections via max count of peers and which peers
#NodeCore Configuration #allow grpc connectivity via whitelisting rpc.bind.address=0.0.0.0 rpc.whitelist.addresses=22.214.171.124,126.96.36.199 #limit the max peers peer.max.count=12 #disable bootstrap peers peer.bootstrap.enabled=false peer.external.hosts=188.8.131.52\:7500,184.108.40.206\:7500
There are multiple layers of security:
|Security Feature||Description||See More|
|IP WhiteListing||The client's IP must be whitelisted in order to connect to a remote node||NodeCore Networking|
|Wallet encryption||A wallet file is encrypted. This can be managed through grpc commands||Wallet Encryption|
|Multisig addresses||The wallet takes multiple signatures, so the system remains safe despite a compromised wallet||How to Submit Multisig Tx|
|Offline address creation||A wallet can be created without any network connectivity||https://github.com/VeriBlock/offline-wallet-cli|
|gRPC password (with TLS)||The GRPC connection has a password, and the communication channel is encryped||NodeCore_Networking#Passwords|
See: Developer Guide for code samples, environments, and a list of specifications.