trustbloc / sidetree-fabric

Implementation of Sidetree with a backing Hyperledger Fabric ledger
Apache License 2.0
26 stars 13 forks source link
blockchain distributed-ledger fabric hyperledger-fabric sidetree

Release License

Build Status Go Report Card codebeat badge codecov

sidetree-fabric

Build

The project is built using make.

BDD test suit can be run via make bddtests

Run

To run a Sidetree node along with Hyperledger Fabric you can use docker-compose.

First run the compose itself via

  1. cd test/bddtests/fixtures/

  2. docker-compose up –force-recreate This will start up the node and Fabric but you need to set up the ledger first. This is done by running BDD tests outside of make (after the containers have been started):

  3. cd test/bddtests

  4. DISABLE_COMPOSITION=true go test

After that you can invoke the Sidetree REST API at the following URL: http://localhost:48326/document

To bring everything down run docker-compose down

Contributing

Thank you for your interest in contributing. Please see our community contribution guidelines for more information.

License

Apache License, Version 2.0 (Apache-2.0). See the LICENSE file.