Skip to content

HarrisonEagle/viriot_blockchain

Repository files navigation

VirIoT on Hyperldger Fabric

This is the VirIoT Platform developed with HyperLedger Fabric network.

Original VirIoT Project: https://github.com/fed4iot/VirIoT

This project is based on test-network sample developed by HyperLedger Fabric:https://github.com/hyperledger/fabric-samples/tree/main/test-network-k8s

Feature:

  • Chaincode with business logics of VirIoT
  • Implemention of VirIoT master controller and VirIoT components like ThingVisors with fabric network
  • Sharing data between 2 organizations inside the fabric network
    • 2 worker nodes for organizations, 1 worker node for orderer
  • Getting transaction logs and viewing relationship and transaction logs as graph Screenshot from 2022-12-10 13-37-14

Prerequisites:

Quickstart

Create a KIND cluster:

./network kind
./network cluster init

Launch the network, create a channel, and deploy the viriot-chaincode to local blockchain network:

make init

Initialize and start VirIoT MasterController

make update-local-master

Shut down the local network:

make down 

Tear down the cluster (KIND):

./network unkind

References