enenkel / masterarbeit-prototype

Prototype to evaluate Hyperledger Fabric

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configurations and Code derived from https://github.com/hyperledger/fabric-samples examples

Network commands

Smart Contract

simulationcontract

Installation and Instantiation via hyperledger fabric tools:
customer
producer

Examples:
peer chaincode install -n simulationcontract -v 1 -p /opt/gopath/src/github.com/contract -l node --peerAddresses peer1.customer.com:7051

peer chaincode instantiate -n simulationcontract -v 4 -l node -c '{"Args":["org.prototype.simulationcontract:instantiate"]}' -C mainchannel -P "OR ('CustomerMSP.member', 'ProducerMSP.member')"

Customer Application

apps

Producer Application

apps

Monitoring

Configs:

RUN Monitoring:

  • cd network/monitoring/docker
  • docker-compose up -d

Print logs from all containers with logspout:

Configurations only tested on windows OS

About

Prototype to evaluate Hyperledger Fabric


Languages

Language:JavaScript 85.5%Language:Shell 14.5%