Coder Social home page Coder Social logo

fabric-cc-devenv's Introduction

Hyperledger Fabric Chaincode 开发环境

这是一个易于使用的,使用 CouchDB 作为状态数据库的,支持多模块的 Hyperledger Fabric Chaincode 开发测试环境。

使用前请先获取所有 Hyperledger Fabric 的 Docker 镜像。

使用说明:

  1. 将您的 chaincode 工程文件夹放置到 chaincode 目录里;

  2. 把最外层目录当做 GOPATH 根目录看待,修改您的 import 语句,您的项目根目录应为 "chaincode/项目名";

  3. 打开终端模拟器,执行 ./start.sh 启动环境;

  4. 新建一个标签,执行 ./chaincode.sh 进入 chaincode 安装/运行环境,您可以下载第三方模块,编译并运行您的 chaincode。详情请参阅官方文档;

  5. 新建一个标签,执行 ./cli.sh 进入 chaincode 测试环境,您可以安装,初始化并测试您的 chaincode。详情请参阅官方文档;

  6. 使用结束后,返回第一个标签,执行 ./start.sh 停止所有 docker 实例,删除所有容器和网络。

fabric-cc-devenv's People

Contributors

shadowpower avatar

Watchers

 avatar  avatar

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.