Giter Site home page Giter Site logo

fabric-cloudformation's Introduction

Hyperledger Fabric 测试环境

使用docker及docker-compose 自动部署

功能

  • 自定义组织
  • Kafka 共识方式
  • CouchDB 状态数据库
  • CA 证书管理

使用

cd 共享目录
git clone https://github.com/lisuo3389/fabric-cloudformation.git

# 初始化安装
./preRequisites.sh 

# 启动Fabric 网络
startFabricNode.sh run

Fabric 配置系统环境变量

# orderer 组织名称,可以多个,使用空格分隔
export ORDERER_ORGS="OrdererOrg"
# peer 组织名称,可以多个,使用空格分隔
export PEER_ORGS="PeerOrg1 PeerOrg2"
# 每个peer组织的peer 节点数量
export NUM_PEERS=2
# 每个orderer 组织的orderer节点数量
export NUM_ORDERERS=1 
# channel 名称
export CHANNEL_NAME="testchannel"
# 是否使用中间ca
export USE_INTERMEDIATE_CA=true

# CouchDB
export USE_STATE_DATABASE_COUCHDB=true
export COUCHDB_USER
export COUCHDB_PASSWORD
# Kafka consensus
export USE_CONSENSUS_KAFKA=true
export NUM_KAFKA=4

# Explorer
export USE_BLOCKCHAIN_EXPLORER=true

fabric-cloudformation's People

Watchers

hello 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.