DCore SDK for JVM
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples/android-java-blocking
gradle/wrapper join with examples, setup for jitpack Oct 8, 2018
library
.gitignore publishing fixes May 23, 2018
LICENSE.md
README.md updated readme with basic instructions Oct 8, 2018
build.gradle join with examples, setup for jitpack Oct 8, 2018
gradle.properties join with examples, setup for jitpack Oct 8, 2018
gradlew
gradlew.bat initial May 14, 2018
settings.gradle join with examples, setup for jitpack Oct 8, 2018

README.md

DCore SDK for JVM

Set of APIs for accessing the DCore Blockchain.

Download

Available through the JitPack.io

Setup

Add the JitPack repository to your build file

	allprojects {
	    repositories {
	        maven { url 'https://jitpack.io' }
	    }
	}

Add the dependency

	dependencies {
	    implementation 'com.github.DECENTfoundation:DCoreKt-SDK:$version_tag'
	}

Usage

Use DCoreSdk to initialize the API. The HTTP provides database read only access. For HistoryApi and BroadcastApi the WS has to be setup.

The DCoreApi provides different groups of APIs, an operations helper class and default configuration values.

The supported operations are located in ch.decent.sdk.model package, suffixed with Operation eg. TransferOperation(...). Use the BroadcastApi to apply the operations to DCore.