The libraries included here comprise a development kit that makes interacting with the Provenance Blockchain Metadata module easier.
The components needed to make use of this include the following:
- Provenance node - Provides an API to submit transactions to and to read the event stream from.
- Object store - Stores encrypted DIME objects. More information can be found here.
The quickest way to run these dependent services in a local environment is to use the docker-compose setup here.
See the docs on the Provenance Metadata module and P8e Contract Execution for background. TODO (steve docs) add more information
One function that this sdk can perform is JVM based contract executions. A contract is a class that subclasses P8eContract
and contains annotations. The annotations are used at runtime
to map the P8eContract
to a Provenance ContractSpec.
A gradle plugin is provided to help develop contracts and to persist them to Provenance and Object Store.
A collection of examples are maintained here.