GithubHelp home page GithubHelp logo

Generating fixtures/ about heroes-service HOT 4 CLOSED

chainhero avatar chainhero commented on September 25, 2024
Generating fixtures/

from heroes-service.

Comments (4)

antitoine avatar antitoine commented on September 25, 2024 1

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:

mkdir -p crypto-config
./bin/cryptogen generate --config=./crypto-config.yaml
mkdir -p artifacts
./bin/configtxgen -profile YourProfile -outputBlock ./artifacts/orderer.genesis.block
./bin/configtxgen -profile YourProfile -outputCreateChannelTx ./artifacts/channel.tx -channelID YourChannel
./bin/configtxgen -profile YourProfile -outputAnchorPeersUpdate ./artifacts/org1.anchors.tx -channelID YourChannel -asOrg YourOrg1

I hope this will help you.

from heroes-service.

jeffzoch avatar jeffzoch commented on September 25, 2024

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.

from heroes-service.

antitoine avatar antitoine commented on September 25, 2024

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.

from heroes-service.

antitoine avatar antitoine commented on September 25, 2024

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.

from heroes-service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.