Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.
/ sidetree-fabric Public archive

Implementation of Sidetree with a backing Hyperledger Fabric ledger

License

Notifications You must be signed in to change notification settings

trustbloc/sidetree-fabric

Repository files navigation

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.