Skip to content

provable-things/corda-api

Repository files navigation

Provable corda-api

External references

Documentation

Gitter public support channel: Join the chat at https://gitter.im/oraclize/corda-api

Setup instructions

git clone https://github.com/oraclize/corda-api.git
cd corda-api
./setup

Build the project

./gradlew build [-Pos=[macos, win32, linux]]

-Pos is optional and specify the architecture you want to build against to. This is useful if you want to export the jar produced in a machine with a different operating system. If the -Pos argument is not given, the local architecture is automatically detected as well as the relative J2V8 dependency.

Use the service in a cordapp

  1. Join testnet as explained here
  2. Add the following dependencies to your cordapp build.gradle file
repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    cordaCompile "com.github.provable-things:corda-api:linux_x86_64-SNAPSHOT"
}

And Enjoy!

Note: Choose a the right dependency depending from your operative system:

OS Dependency
Linux com.github.provable-things:corda-api:linux_x86_64-SNAPSHOT
Windows com.github.provable-things:corda-api:win32_x86_64-SNAPSHOT
macOS com.github.provable-things:corda-api:macosx_x86_64-SNAPSHOT

Check out these examples to see how it works.