hyperledger-superstarted

module
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 License: Apache-2.0

README

hyperledger-fabric

Model's project for getting started Hyperledger Fabric

Prerequisites

Linux

  • Install make
  • Install build-essential

Build

Java

Execute: gradle clean build shadowJar

Node API

Execute npm install em: /infrastructure/js

Test on Peer

Create MisteryBox

peer chaincode invoke -n misterybox-java -c '{"Args":["invoke", "a123b", "XXL", "jcbombardelli"]}' -C jewelchannel

QueryHistoryMisteryBox

peer chaincode invoke -n misterybox-java -c '{"Args":["queryHistory", "a123b"]}' -C jewelchannel

Troubleshootings

API error (400): OCI runtime create failed: container_linux.go:345: starting container process caused "exec: "/root/chaincode-java/start": stat /root/chaincode-java/start: no such file or directory": unknown

Isso pode acontecer caso voce esteja tentando criar imagens diferentes no docker com o mesmo nome

Directories

Path Synopsis
chaincode
go

Jump to

Keyboard shortcuts

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