Skip to content

About

A framework for building distributed applications on Hyperledger Fabric and Chaguar, so you can focus on business processes instead of blockchain plumbing.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

77 stars

Watchers

3 watching

Forks

Latest commit

 

History

1,948 Commits

Folders and files

Fabric Smart Client

License Go Reference OpenSSF Scorecard OpenSSF Best Practices Tests CodeQL Coverage Status

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.

Features

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

Getting started

To write your first FSC application:

  1. Read Core concepts for what FSC is and how a business process maps to views.
  2. Follow the Programming model guide: how an application creates a node, installs SDKs, and registers initiator and responder views.
  3. Add the ledger you target: the Fabric platform or the Chaguar platform.
  4. Configure your node with core.yaml.

The documentation index lists every guide, and the Go API reference documents the packages.

Related projects

  • Panurus: a token layer built on FSC.
  • Chaguar Committer: the validation and commit service that FSC's Chaguar platform submits transactions to.

Contributing

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.

Versioning

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.

Disclaimer and license

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

About

A framework for building distributed applications on Hyperledger Fabric and Chaguar, so you can focus on business processes instead of blockchain plumbing.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

77 stars

Watchers

3 watching

Forks

Releases

Used by

Contributors

Languages