Private KardiaChain Network
KardiaChain Official User Guide for Setting Up Local or Private BlockChain
Last updated
Was this helpful?
KardiaChain Official User Guide for Setting Up Local or Private BlockChain
Last updated
Was this helpful?
Recommending using Cloud compute service with the following requirements.
Function
Nodes
CPU (Cores)
RAM (GB)
SSD Storage (GB)
KardiaChain Network-BlockChain Network-Backend-DB-Explorer
6
16
8
512
Kubernetes Services
1
16
64
1,000
Frontend
1
4
8
256
Elastic Search
3
4
8
512
DB+Caching
3
4
8
512
Operating system: CentOS or Ubuntu (manual compiling and build) or with Docker Compose installed.
Linux OS:
Internet Requirement:
Bandwidth: 1GBps
Port open: TCP/UDP 3000 (internet exposure), TCP 8545 (for JSON RPC).
When the system or cloud instance is ready, proceeding with the following steps for preparing the environment.
Notes: the latest cmd command is now installed.
Install Docker following the installation guide for Linux OS
Notes: Following the example above to modify information which match each Node function.
Notes: logs showed the status of each node.
NodeJs v12.18.4
Clone from the above project link
Run npm install
Run npm start
Run npm run build
Run make all
Checkout Makefile
for more command and use what you need
--- api: define API for FE
--- cfg: define base configuration
--- cmd: all entry point here
--- contracts: ERC20 and smc
--- deployments: docker-compose and dockerfile for deploy/develop
--- features: BDD |--- kardia: kardia client implement
--- metrics: custom metrics for tracking/monitor
--- scripts: scripting for execute
--- server: logic/db server
--- tools: tools for develop
--- types
--- utils: collections utilities function
You'll need go and the required environment variables set, which can be done with the following commands:
Install
Install docker
Download the following file ,
Configuration file will be stored in YAML file. Download the following config , , . Below is the example of the Config file.
All files are available at
All files are available at
Generate with repo
permission and set as GITHUB_TOKEN
variables in your system.