Code Monkey home page Code Monkey logo

dataprivacy's Introduction

Demonstration for Channel and Private Data in Hyperledger Fabric

Overview

This repository is the demonstration setup showing Channel and Private Data in Hyperledger Fabric. Refer to this article for detail.

Note

For demo purpose both the crypto-config and channel-artifacts are pre-generated. The files are generated with Release 1.4.2. In case you are using Release 1.4.3, you have to re-generate the channel-artifacts. After you git clone the repository, you can generate the new set of channel artifacts.

cd fabric-samples
git clone https://github.com/kctam/dataprivacy.git
cd dataprivacy/network

### in configtx.html line 79, change 
### from V1_4_2: true 
### to V1_4_3: true

rm channel-artifacts/*
export FABRIC_CFG_PATH=$PWD
../../bin/configtxgen -profile ThreeOrgsOrdererGenesis -outputBlock ./channel-artifacts/genesis.block
../../bin/configtxgen -profile Channel-All -outputCreateChannelTx ./channel-artifacts/channel-all.tx -channelID channel-all
../../bin/configtxgen -profile Channel-12 -outputCreateChannelTx ./channel-artifacts/channel-12.tx -channelID channel-12
../../bin/configtxgen -profile Channel-All -outputAnchorPeersUpdate ./channel-artifacts/Org1MSPanchors.tx -channelID channel-all -asOrg Org1MSP
../../bin/configtxgen -profile Channel-All -outputAnchorPeersUpdate ./channel-artifacts/Org2MSPanchors.tx -channelID channel-all -asOrg Org2MSP
../../bin/configtxgen -profile Channel-All -outputAnchorPeersUpdate ./channel-artifacts/Org3MSPanchors.tx -channelID channel-all -asOrg Org3MSP

dataprivacy's People

Contributors

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