chainHero / heroes-service

Short tutorial to build a blockchain application in Go with Hyperledger Fabric
https://chainhero.io/2018/06/tutorial-build-blockchain-app-v1-1-0/
Apache License 2.0
275 stars 146 forks source link

Generating fixtures/ #5

Closed jeffzoch closed 6 years ago

jeffzoch commented 6 years ago

I read (and thoroughly enjoyed) the blog post and saw that a future post would cover how to generate the files in fixtures/. Any timeline on this? I like the structure of this demo a lot and would love to use it for a project but don't know how to generate my own fixtures/ (i tried the generator.sh script in the fabric docs, but no dice). Publishing the script used would be very useful!

antitoine commented 6 years ago

Hi @Jeff-Zoch, thank you for this encouraging feedback! We still need some explanations to publish this little guide on the creation of the fixtures folder. I hope that by the end-of-week it will be online. In the meantime, here's some help:

I hope this will help you.

jeffzoch commented 6 years ago

Super helpful thank you! I cant seem to write the correct configtx.yaml (I keep getting MSP org1.hf.chainhero.com is unknown) but Ill look out for the blog.

antitoine commented 6 years ago

We have some delay on the production of the blog article, I hope it will come out as soon as possible. If you have any questions please feel free to ask me directly here to help you move forward. To try to answer your problem, look at the domains present in crypto-config.yaml file. Then, check the part Organizations.<Org Name>.ID in the configtx.yaml file that define the MSP ID.

antitoine commented 6 years ago

We just published the little tutorial here: https://chainhero.io/2018/04/tutorial-hyperledger-fabric-how-to-build-your-first-network/ Feel free to give your feedback or contribute if you have ideas.