Skip to content

为了方便在Atom上调试fabric智能合约

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

xuchengli/fabric-go

Repository files navigation

fabric-go

It is for go chaincode debug of fabric.

fabric-go.png

Prerequisite

  1. Environment installation.

  2. Docker images preparation for fabric.

    • Orderer image.

      $ docker pull hyperledger/fabric-orderer:1.4
      
    • Peer image.

      $ docker pull hyperledger/fabric-peer:1.4
      
    • CouchDB image.

      $ docker pull hyperledger/fabric-couchdb:0.4.18
      
    • CLI tools image.

      $ docker pull hyperledger/fabric-tools:1.4
      
    • Chaincode environment image.

      $ docker pull hyperledger/fabric-ccenv:1.4
      

Installation

https://atom.io/packages/fabric-go

Instruction

  1. Open your .go chaincode file with atom.

  2. Toggle "Fabric Go" package in the "Packages" menu or status bar.

  3. Startup fabric network leverage "Fabric Go".

  4. Build & start your chaincode.

  5. Install > Instantiate > Invoke > Query your chaincode. After update the chaincode, you need to build & start your chaincode again.

About

为了方便在Atom上调试fabric智能合约

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published