$ hyperledger fabric, made easy

Spin up a Fabric network with fablo up

Fablo generates a complete Hyperledger Fabric network — orderers, peers, CAs, channels, and chaincodes — from one config file, and runs it locally on Docker. Built for development and CI.

Get started Config editor
TLS RAFT & BFT CouchDB / LevelDB chaincode go · node · java CCaaS + hot reload private data Fablo REST explorer (v2) snapshot / restore

Why Fablo?

A better starting point

One config file describes the whole network, and Fablo generates the rest.

Setting up a Hyperledger Fabric network by hand means writing dozens of crypto, configtx, and Docker Compose files. Fablo replaces all of that with a single config file in JSON or YAML, where you describe the organizations, channels, and chaincodes you want. Fablo then generates the network and the scripts that operate it on Docker, with TLS, private data collections, and CouchDB or LevelDB as the peer database. Chaincode can be written in Node.js, Go, or Java, and it can also run as a service (CCaaS) with hot reload of the source code. Ordering uses RAFT or BFT on Fabric v3, and RAFT or solo on Fabric v2. You can also enable Fablo REST for an organization, and Blockchain Explorer on Fabric v2.

Fablo is built for local development and CI. You start a full network with one command, and then run chaincode and integration tests against it. When you are done, you tear the network down and repeat the process on any machine with Docker. A network from the sample config takes a few minutes to start. Fablo can also save a snapshot of a running network, so you can restore the same state later.

How it works

From config to a running network

01

Describe your network

Fablo writes a starter config file with an orderer organization, a peer organization, a channel, and a sample Node.js chaincode.

fablo init node
02

Generate everything

Fablo writes the Fabric config, the Docker Compose files, and the network scripts into the fablo-target directory.

fablo generate
03

Start the network

Fablo starts the network on Docker, then creates the channels and deploys the chaincodes.

fablo up

getting-started →

Bring up your first network in three commands.

examples →

Explore complete setups and the output Fablo generates.

config reference →

Main fields of the Fablo config file.

cli reference →

Every fablo command and its arguments.

config editor →

Build a valid config visually in the browser.