Skip to content

This is the repository for the COMP842 Research Project in Semester 2, 2023.

Notifications You must be signed in to change notification settings

shaxski/blockycee

Repository files navigation

HyperLedgerFabric

The capstone project from COMP842 (Applied Blockchains and Cryptocurrencies) at Auckland University of Technology.

COMP842

This is a readme file to initalise the COMP842 workspace.

Table of Contents

Overview

This project aims to understand how a consortium blockchain can be used to securely store and verify qualifications for candidates.

Features

  • User Stories
  • Process Mapping
  • UI Designs
  • Programming foundations

Prerequisite

  • Git
  • cURL
  • Docker
  • Go

Run a Network and Create a Channel and CA

Channels are a private layer of communication between specific network members. Channel is a connection between organizations.

!Execute under basic-network folder

  • ./network.sh up createChannel -c mychannel -ca default channel name is "myChannel". -c option to change

Execute a chaincode

!Execute under basic-network folder

  • ./network.sh deployCC -ccn basic -ccp ../chaincode/chaincode-typescript/ -ccl typescript

Network interaction (Application)

Using peer CLI you can have network interaction such as invoke (update ledgers), channel update/install, create new smart contract

  • cd application
  • npm install
  • npm run start

Clean network

  • ./network.sh down