README

Hyperledger Fabric join the chat

Build Status CII Best Practices Go Report Card GoDoc Documentation Status

This project is an Active Hyperledger project. For more information on the history of this project see the Fabric wiki page. Information on what Active entails can be found in the Hyperledger Project Lifecycle document. Hyperledger Fabric is a platform for distributed ledger solutions, underpinned by a modular architecture delivering high degrees of confidentiality, resiliency, flexibility and scalability. It is designed to support pluggable implementations of different components, and accommodate the complexity and intricacies that exist across the economic ecosystem.

Hyperledger Fabric delivers a uniquely elastic and extensible architecture, distinguishing it from alternative blockchain solutions. Planning for the future of enterprise blockchain requires building on top of a fully-vetted, open source architecture; Hyperledger Fabric is your starting point.

Releases

Fabric releases and release notes can be found on the GitHub releases page.

Please visit the Hyperledger Fabric Jira dashboard for our release roadmap. We plan on a quarterly release cadence, delivering on a scoped set of themes and select features. Unless specified otherwise, all releases will be upgradable from the prior minor release.

Documentation, Getting Started and Developer Guides

Please visit our online documentation for information on getting started using and developing with the fabric, SDK and chaincode:

It's recommended for first-time users to begin by going through the Getting Started section of the documentation in order to gain familiarity with the Hyperledger Fabric components and the basic transaction flow.

Contributing

We welcome contributions to the Hyperledger Fabric project in many forms. There’s always plenty to do! Check the documentation on how to contribute to this project for the full details.

Testing

Check the documentation for information on the testing structure that the project follows.

Community

Hyperledger Community

Hyperledger mailing lists and archives

Hyperledger Chat

Hyperledger Fabric Issue Tracking (JIRA)

Hyperledger Fabric Wiki

Hyperledger Wiki

Hyperledger Code of Conduct

Community Calendar

License

Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Hyperledger Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.

Expand ▾ Collapse ▴

Directories

Path Synopsis
bccsp
bccsp/factory
bccsp/idemix
bccsp/idemix/bridge
bccsp/idemix/handlers
bccsp/idemix/handlers/mock Code generated by counterfeiter.
bccsp/mocks
bccsp/pkcs11
bccsp/signer
bccsp/sw
bccsp/sw/mocks
bccsp/utils
cmd/common
cmd/common/comm
cmd/common/signer
cmd/configtxgen
cmd/configtxlator
cmd/cryptogen
cmd/discover
cmd/idemixgen
cmd/orderer Package main is the entrypoint for the orderer binary and calls only into the server.Main() function.
cmd/peer
common/capabilities
common/cauthdsl
common/chaincode
common/channelconfig
common/config
common/configtx
common/configtx/mock Code generated by counterfeiter.
common/configtx/test
common/crypto
common/crypto/tlsgen
common/deliver
common/deliver/mock Code generated by counterfeiter.
common/diag
common/errors
common/flogging
common/flogging/fabenc
common/flogging/floggingtest
common/flogging/httpadmin
common/flogging/httpadmin/fakes Code generated by counterfeiter.
common/flogging/metrics
common/flogging/mock Code generated by counterfeiter.
common/genesis
common/graph
common/grpclogging
common/grpclogging/fakes Code generated by counterfeiter.
common/grpclogging/testpb
common/grpcmetrics
common/grpcmetrics/fakes Code generated by counterfeiter.
common/grpcmetrics/testpb
common/ledger
common/ledger/blkstorage
common/ledger/blkstorage/fsblkstorage
common/ledger/blkstorage/fsblkstorage/msgs
common/ledger/blockledger
common/ledger/blockledger/fileledger
common/ledger/dataformat
common/ledger/testutil
common/ledger/testutil/fakes Code generated by counterfeiter.
common/ledger/util
common/ledger/util/leveldbhelper
common/metadata
common/metrics
common/metrics/cmd/gendoc
common/metrics/disabled
common/metrics/gendoc
common/metrics/internal/namer
common/metrics/metricsfakes Code generated by counterfeiter.
common/metrics/prometheus
common/metrics/statsd
common/metrics/statsd/goruntime
common/policies
common/policies/inquire
common/policies/mocks Code generated by counterfeiter.
common/policydsl
common/semaphore Package semaphore provides an implementation of a counting semaphore.
common/tools/idemixgen/idemixca
common/tools/idemixgen/metadata
common/tools/protolator
common/tools/protolator/protoext
common/tools/protolator/protoext/commonext
common/tools/protolator/protoext/ledger/rwsetext
common/tools/protolator/protoext/mspext
common/tools/protolator/protoext/ordererext
common/tools/protolator/protoext/peerext
common/tools/protolator/testprotos
common/util
common/viperutil
core/aclmgmt
core/aclmgmt/mocks Code generated by counterfeiter.
core/aclmgmt/resources Package roesources contains resource names used in fabric for ACL checks.
core/cclifecycle
core/cclifecycle/mocks
core/chaincode
core/chaincode/accesscontrol
core/chaincode/extcc
core/chaincode/extcc/mock Code generated by counterfeiter.
core/chaincode/fake Code generated by counterfeiter.
core/chaincode/lifecycle
core/chaincode/lifecycle/mock Code generated by counterfeiter.
core/chaincode/mock Code generated by counterfeiter.
core/chaincode/persistence
core/chaincode/persistence/mock Code generated by counterfeiter.
core/chaincode/platforms
core/chaincode/platforms/golang
core/chaincode/platforms/java
core/chaincode/platforms/mock Code generated by counterfeiter.
core/chaincode/platforms/node
core/chaincode/platforms/util
core/committer
core/committer/txvalidator
core/committer/txvalidator/mocks
core/committer/txvalidator/plugin
core/committer/txvalidator/v14
core/committer/txvalidator/v14/mocks
core/committer/txvalidator/v20
core/committer/txvalidator/v20/mocks
core/committer/txvalidator/v20/plugindispatcher
core/committer/txvalidator/v20/plugindispatcher/mocks
core/committer/txvalidator/v20/valinforetriever
core/committer/txvalidator/v20/valinforetriever/mocks
core/common/ccpackage
core/common/ccprovider # Copyright State Street Corp.
core/common/privdata
core/common/privdata/mock Code generated by counterfeiter.
core/common/sysccprovider
core/common/validation
core/common/validation/statebased
core/common/validation/statebased/mocks
core/config
core/config/configtest
core/container
core/container/ccintf
core/container/dockercontroller
core/container/dockercontroller/mock Code generated by counterfeiter.
core/container/externalbuilder
core/container/mock Code generated by counterfeiter.
core/deliverservice
core/deliverservice/fake Code generated by counterfeiter.
core/dispatcher
core/dispatcher/mock Code generated by counterfeiter.
core/endorser
core/endorser/fake Code generated by counterfeiter.
core/endorser/mocks Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0
core/handlers/auth
core/handlers/auth/filter
core/handlers/auth/plugin
core/handlers/decoration
core/handlers/decoration/decorator
core/handlers/decoration/plugin
core/handlers/endorsement/api
core/handlers/endorsement/api/identities
core/handlers/endorsement/api/state
core/handlers/endorsement/builtin
core/handlers/endorsement/builtin/mocks Code generated by mockery v1.0.0
core/handlers/endorsement/plugin
core/handlers/library
core/handlers/validation/api
core/handlers/validation/api/capabilities
core/handlers/validation/api/identities
core/handlers/validation/api/policies
core/handlers/validation/api/state
core/handlers/validation/builtin
core/handlers/validation/builtin/mocks
core/handlers/validation/builtin/v12
core/handlers/validation/builtin/v12/mocks Code generated by counterfeiter.
core/handlers/validation/builtin/v13
core/handlers/validation/builtin/v13/mocks Code generated by counterfeiter.
core/handlers/validation/builtin/v20
core/handlers/validation/builtin/v20/mocks Code generated by counterfeiter.
core/ledger
core/ledger/cceventmgmt
core/ledger/confighistory
core/ledger/kvledger
core/ledger/kvledger/benchmark/chainmgmt
core/ledger/kvledger/benchmark/experiments
core/ledger/kvledger/benchmark/mocks
core/ledger/kvledger/bookkeeping
core/ledger/kvledger/history
core/ledger/kvledger/msgs
core/ledger/kvledger/tests
core/ledger/kvledger/tests/fakes Code generated by counterfeiter.
core/ledger/kvledger/txmgmt/privacyenabledstate
core/ledger/kvledger/txmgmt/pvtstatepurgemgmt
core/ledger/kvledger/txmgmt/queryutil
core/ledger/kvledger/txmgmt/queryutil/mock Code generated by counterfeiter.
core/ledger/kvledger/txmgmt/rwsetutil
core/ledger/kvledger/txmgmt/statedb
core/ledger/kvledger/txmgmt/statedb/commontests
core/ledger/kvledger/txmgmt/statedb/mock Code generated by counterfeiter.
core/ledger/kvledger/txmgmt/statedb/statecouchdb
core/ledger/kvledger/txmgmt/statedb/statecouchdb/msgs
core/ledger/kvledger/txmgmt/statedb/stateleveldb
core/ledger/kvledger/txmgmt/statedb/stateleveldb/msgs
core/ledger/kvledger/txmgmt/storageutil
core/ledger/kvledger/txmgmt/txmgr
core/ledger/kvledger/txmgmt/txmgr/lockbasedtxmgr
core/ledger/kvledger/txmgmt/txmgr/mock Code generated by counterfeiter.
core/ledger/kvledger/txmgmt/validator
core/ledger/kvledger/txmgmt/validator/internal
core/ledger/kvledger/txmgmt/validator/statebasedval
core/ledger/kvledger/txmgmt/validator/valimpl
core/ledger/kvledger/txmgmt/validator/valimpl/mock Code generated by counterfeiter.
core/ledger/kvledger/txmgmt/version
core/ledger/ledgermgmt
core/ledger/ledgermgmt/ledgermgmttest
core/ledger/ledgerstorage
core/ledger/mock Code generated by counterfeiter.
core/ledger/pvtdatapolicy
core/ledger/pvtdatapolicy/mock Code generated by counterfeiter.
core/ledger/pvtdatapolicy/testutil
core/ledger/pvtdatastorage
core/ledger/util
core/ledger/util/couchdb
core/ledger/util/couchdbtest
core/middleware
core/middleware/fakes Code generated by counterfeiter.
core/mocks/txvalidator
core/mocks/validator
core/operations
core/operations/fakes Code generated by counterfeiter.
core/peer
core/peer/mock Code generated by counterfeiter.
core/policy
core/policy/mocks
core/scc
core/scc/cscc Package cscc chaincode configer provides functions to manage configuration transactions as the network is being reconfigured.
core/scc/cscc/mocks Code generated by counterfeiter.
core/scc/lscc
core/scc/lscc/mock Code generated by counterfeiter.
core/scc/mock Code generated by counterfeiter.
core/scc/qscc
core/scc/test-plugin
core/testutil
core/transientstore
core/tx
core/tx/endorser
discovery
discovery/client
discovery/cmd
discovery/cmd/mocks
discovery/endorsement
discovery/protoext
discovery/support
discovery/support/acl
discovery/support/chaincode
discovery/support/config
discovery/support/gossip
discovery/support/gossip/mocks Code generated by counterfeiter.
discovery/support/mocks Code generated by counterfeiter.
gossip/api
gossip/api/mocks
gossip/comm
gossip/comm/mock
gossip/comm/mocks
gossip/common
gossip/discovery
gossip/election
gossip/filter
gossip/gossip
gossip/gossip/algo
gossip/gossip/channel
gossip/gossip/msgstore
gossip/gossip/pull
gossip/identity
gossip/metrics
gossip/metrics/mocks
gossip/privdata
gossip/privdata/common
gossip/privdata/mocks Code generated by counterfeiter.
gossip/protoext
gossip/service
gossip/service/mocks Code generated by counterfeiter.
gossip/state
gossip/state/mocks
gossip/util
idemix
integration
integration/chaincode/keylevelep
integration/chaincode/keylevelep/cmd
integration/chaincode/kvexecutor
integration/chaincode/kvexecutor/cmd
integration/chaincode/marbles
integration/chaincode/marbles/cmd
integration/chaincode/marbles/cmdwithindexspec
integration/chaincode/marbles/cmdwithindexspecs
integration/chaincode/marbles_private
integration/chaincode/marbles_private/cmd
integration/chaincode/simple
integration/chaincode/simple/cmd
integration/helpers
integration/lifecycle/chaincode/callee
integration/lifecycle/chaincode/callee/cmd
integration/lifecycle/chaincode/caller
integration/lifecycle/chaincode/caller/cmd
integration/nwo
integration/nwo/commands
integration/nwo/fabricconfig
integration/pluggable
integration/raft
integration/runner
internal/ccmetadata
internal/configtxgen/encoder
internal/configtxgen/encoder/fakes Code generated by counterfeiter.
internal/configtxgen/genesisconfig
internal/configtxgen/metadata
internal/configtxlator/metadata
internal/configtxlator/rest
internal/configtxlator/update
internal/cryptogen/ca
internal/cryptogen/csp
internal/cryptogen/metadata
internal/cryptogen/msp
internal/peer/chaincode
internal/peer/chaincode/mock Code generated by counterfeiter.
internal/peer/channel
internal/peer/channel/mock Code generated by counterfeiter.
internal/peer/common
internal/peer/common/mock Code generated by counterfeiter.
internal/peer/gossip
internal/peer/gossip/mocks Code generated by counterfeiter.
internal/peer/lifecycle
internal/peer/lifecycle/chaincode
internal/peer/lifecycle/chaincode/mock Code generated by counterfeiter.
internal/peer/node
internal/peer/node/mock Code generated by counterfeiter.
internal/peer/packaging
internal/peer/packaging/mock Code generated by counterfeiter.
internal/peer/version
internal/pkg/comm
internal/pkg/comm/testpb
internal/pkg/identity
internal/pkg/peer/blocksprovider
internal/pkg/peer/blocksprovider/fake Code generated by counterfeiter.
internal/pkg/peer/orderers
msp
msp/cache
msp/mgmt
msp/mgmt/testtools
msp/mocks
orderer/common/blockcutter
orderer/common/blockcutter/mock Code generated by counterfeiter.
orderer/common/bootstrap
orderer/common/bootstrap/file
orderer/common/broadcast
orderer/common/broadcast/mock Code generated by counterfeiter.
orderer/common/cluster
orderer/common/cluster/mocks Code generated by counterfeiter.
orderer/common/localconfig
orderer/common/metadata
orderer/common/msgprocessor Package msgprocessor provides the implementations for processing of the assorted message types which may arrive in the system through Broadcast.
orderer/common/msgprocessor/mocks Code generated by counterfeiter.
orderer/common/multichannel Package multichannel tracks the channel resources for the orderer.
orderer/common/multichannel/mocks Code generated by counterfeiter.
orderer/common/server
orderer/common/server/mocks Code generated by counterfeiter.
orderer/consensus
orderer/consensus/etcdraft
orderer/consensus/etcdraft/mocks Code generated by counterfeiter.
orderer/consensus/inactive
orderer/consensus/kafka
orderer/consensus/kafka/mock Code generated by counterfeiter.
orderer/consensus/mocks Code generated by counterfeiter.
orderer/consensus/solo
orderer/consensus/solo/mocks Code generated by counterfeiter.
orderer/mocks/common/blockcutter
orderer/mocks/common/multichannel
orderer/mocks/util
orderer/sample_clients/broadcast_config
orderer/sample_clients/broadcast_msg
orderer/sample_clients/deliver_stdout
pkg/statedata
pkg/tx
protoutil
protoutil/fakes Code generated by counterfeiter.