The Fabric Smart Client (FSC) is a Go framework for building client applications on Hyperledger Fabric and Chaguar. You write a business process as a set of views, one for each party, that exchange messages over sessions. FSC handles identities, endorsement, ordering, commit notifications and the peer-to-peer channels between the parties.
- A view and session programming model for multi-party protocols.
- Direct peer-to-peer communication between FSC nodes.
- Transaction assembly, endorsement collection and finality tracking for Fabric and Chaguar.
- One node can connect to several networks, each configured in
core.yaml.
To write your first FSC application:
- Read Core concepts for what FSC is and how a business process maps to views.
- Follow the Programming model guide: how an application creates a node, installs SDKs, and registers initiator and responder views.
- Add the ledger you target: the Fabric platform or the Chaguar platform.
- Configure your node with
core.yaml.
The documentation index lists every guide, and the Go API reference documents the packages.
- Panurus: a token layer built on FSC.
- Chaguar Committer: the validation and commit service that FSC's Chaguar platform submits transactions to.
We welcome contributions from everyone. Please read CONTRIBUTING.md for the guidelines.
Join our community on the LFDT Discord #fabric-smart-client. We also have a community meeting every Wednesday at 1400 CET on Zoom. Please see the LF Decentralized Trust community calendar for details. Meeting notes are available.
Releases follow Semantic Versioning and are listed on the releases page. FSC is pre-1.0, so a minor release can change APIs and storage formats; each minor release has an upgrade guide.
Important
The Fabric Smart Client is provided as-is and has not been formally audited. Use at your own risk. The project is actively developed and APIs may change.
This project is licensed under the Apache License, Version 2.0 (Apache-2.0). Documentation is available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0).