Gitter public support channel:
git clone https://github.com/oraclize/corda-api.git
cd corda-api
./setup
./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.
- Join testnet as explained here
- 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.