Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Fabric

Project Status Build Status Coverage Status GitHub contributors Community

Fabric is an experimental approach to the secure establishment and execution of peer-to -peer agreements, up to and including financial transactions. With a robust library of common components, npm i @fabric/core provides all the tools one might require during the development of a well-researched application of decentralization technology.

🚨 Heads up!
Use of Fabric in production is not recommended in its current state. Please wait for an official release before deploying to production environments, or proceed at your own risk.

Getting Started

If you're already familiar with node and have a project already started, try npm install --save @fabric/core to install Fabric Core, the primary library used for most Fabric-based applications.

Fork and clone [the Fabric GitHub repository][fabric-github] and launch a local web server with npm run examples to view the examples, or npm run docs once you're ready to integrate Fabric into your application.

Available Commands

  • npm run cli provides a direct command-line interface to the Fabric network.
  • npm run docs creates a local HTTP server for browsing documentation.
  • npm run examples creates a local HTTP server for interacting with examples.
  • npm start creates a local Fabric node.

Plugins

Fabric is an extensible framework, supporting a variety of plugins.

  • @fabric/http for serving Fabric apps to the legacy web (HTTP)

API

The Fabric reference implementation exposes a simple message-passing interface using the actor model.

Using as a Library

Simple Example

const Fabric = require('fabric');
const service = new Fabric();

service now contains a full instance of Fabric, including SET and GET methods for publishing and retrieving documents. Use npm run examples to see more.

Other Fabrics

Several other projects have used the name Fabric, as it's a great way to describe a network of things, conjuring feelings of nets and webs. Here are some links to them, as they offer some interesting things completely unrelated to our goals.

  • Fabric python project (#fabric on Freenode)
  • Fabric application framework by Twitter
  • HyperLedger Fabric, by IBM

Learning More

The best place to get started is in the #learning channel, a collection of empassioned educators eager to help you.

Fabric on Twitter: @FabricProtocol

About

Fabric is an experimental protocol for exchanging information.

Topics

Resources

License

Releases

No releases published

Packages

No packages published