Kubernetes Hyperledger Fabric with REST API

Prerequisites

Quickstart

Create a local Kubernetes cluster:

./network kind

Launch the network, create a channel, and deploy the smart contract :

./network up
./network channel create
./network chaincode deploy

Invoke and query chaincode:

./network chaincode invoke '{"Args":["InitLedger"]}' 
./network chaincode query '{"Args":["GetAllAssets"]}'

Access the blockchain with a REST API:

./network rest-easy

Tear down the test network:

./network down 

Tear down the cluster:

./network unkind