Oraclize API for the R3 Corda platform
Clone or download
Latest commit f8a40f7 Sep 21, 2018


Oraclize corda-api

External references

Documentation: docs.oraclize.it

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

Setup instructions

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

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 {
    compile "com.github.oraclize:corda-api:linux_x86_64-SNAPSHOT"

Note: Choose a dependency from which architecture you are intended to use:

  • Linux: com.github.oraclize:corda-api:linux_x86_64-SNAPSHOT
  • Windows: com.github.oraclize:corda-api:win32_x86_64-SNAPSHOT
  • macOS: com.github.oraclize:corda-api:macosx_x86_64-SNAPSHOT

Follow this example to see how it works