This repository contains the Go implementation of the Centrifuge POD (Private Off-chain Data) protocol. It connects to other nodes via libp2p and uses Centrifuge Chain for on-chain interactions.
Getting help: Head over to our documentation at docs.centrifuge.io to learn how to setup a node and interact with it. If you have any questions, feel free to join our discord
To fetch the dependencies, run make install-deps
.
To install, run make install
will compile project to binary centrifuge
and be placed under GOBIN
.
Ensure GOBIN
is under PATH
to call the binary globally.
There 4 different flavours of tests in the project
To run all the tests:
make run-unit-tests
make run-integration-tests
make run-testworld-tests
If you like to deploy all the dependencies including node, please follow below steps
To start centrifuge node locally, follow the steps below:
make start-local-node
~/centrifuge/testing
.recreate_config=true make start-local-node
Node APIs are published to swagger hub. For the latest APIs, please see here: APIs