HYPER-LEDGER FABRIC DEVELOPER PROJECT

Clone this repo:

Branches

  1. 258371e add composer and bna by dream4team · 4 years, 5 months ago master
  2. 8ccc45c initial commit by dream4team · 4 years, 5 months ago
  3. 390e681 Initial commit by dream4team · 4 years, 5 months ago

DreamTeamCfd02

Capstone Project CFDev

Chaincode Name => czen_chaincode

GO Chain

/home/ubuntu/fabric-samples/chaincode/fabcar/go czen.go

Node JS

/home/ubuntu/fabric-samples/fabcar

queryCzen.js invokeCzen.js registerUserCzen.js enrollAdminCzen.js

Network Start Script

/home/ubuntu/fabric-samples/fabcar

startFabricCzen.sh

Couch DB

We could actually see the transaction data here..in a more human way http://ec2-18-222-150-202.us-east-2.compute.amazonaws.com:5984/_utils

Supported Functions

Register admin

enrollAdminCzen.js

Register User ( czenuser )

registerUserCzen.js

Create a Person

node invokeCzen.js createPerson PER40 FEMALE MARY JOE TAIWAN

Change Citizenship

node invokeCzen.js changeCitzenship PER0 AUSTRALIA

Query for one PERSON

queryCzen.js PER35

Query for ALL Persons in the Network

queryCzen.js

Do a clean prior to start attempt

###clear docker and restart docker rm -f $(docker ps -aq) docker rmi -f $(docker images -aq) docker network prune