hlf-sdk-demo

module
v0.0.0-...-605551a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2020 License: MIT

README

Goal

  • Let's figure out how hyperledger fabric and fabric-sdk-go work together in a web app.

Tech

  • hyperledger fabric v1.4.2
  • fabric-sdk-go v1.4
  • vue

Prepare

  • Before running this demo, you should able to run byfn v1.4.2, to make sure env is ok.

Build

  • make build

Bring up network and server

  • make start-network start-server

Or Bring up network and server with ca

  • make start-network-ca start-server-ca

Experiment

  • Visit localhost:8000/web.

bring down network and server

  • make stop-network stop-server

Or bring down the ca version

  • make stop-network-ca stop-server

NOTE

  • peer env CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE is required, otherwise chaincode image not working.

Directories

Path Synopsis
chaincode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL