(DEPRECATED) We're moving to RUST Core
Official Golang implementation of KardiaChain following the specs in Technical Paper
- Network Explorer: Aris Explorer
- Network Explorer: Devnet Explorer
- Release: kardia-v1.1.0
- See deplopyment/local for more details.
- See deplopyment/testnet for more details.
- See deplopyment/mainnet for more details.
Install Go to $HOME directory. Sets environment vars:
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
- Recommend
go build
version: 1.14.12 (stable), 1.15.5 (unstable) - Recommend
go test ./...
>= version: 1.14.12
- Install libzmq
cd $GOPATH/src/github.com/kardiachain/go-kardia/cmd
go install
Most of the top-level directories are self-explanatory. Here are the core directories:
- consensus - consensus engine
- config - default network configs
- dualchain - dual node's blockchain and service
- dualnode - interface layer to external blockchains, e.g. Ethererum, Neo, etc.
- kai - shared libraries specific to KardiaChain
- kvm - Kardia virtual machine
- lib - third-party libraries
- node - Node service
- rpc - RPC server
- mainchain - Kardia blockchain core and service
- proto - protobuf messages definition
- types - Kardia objects types
cd $GOPATH/src/github.com/kardiachain/go-kardia
go test ./...
- See deplopyment/mainnet for more details.
./cmd --network testnet --node <path/to/kai_config_testnet.yaml>
./cmd --network devnet --node <path/to/kai_config_devnet_node1.yaml>
./cmd --network devnet --node <path/to/kai_config_devnet_node2.yaml>
./cmd --network devnet --node <path/to/kai_config_devnet_node3.yaml>
- Setup JSON-RPC request
- Launch Explorer Backend (publication soon)