Minter Android Core SDK
Switch branches/tags
Clone or download
Latest commit a272b8a Oct 15, 2018

README.md

Minter Android Core SDK

Download License: MIT

Minter core sdk library, contains transaction signing and common helpers

Setup

The library contains JNI bindings, so you need to install android NDK if it's not yet. In future, all native code will be moved to dependencies.

Gradle root build.gradle

allprojects {
    repositories {
       // ... some repos
        maven { url "https://dl.bintray.com/minterteam/android" }
    }
}

project build.gradle

ext {
    minterSdkVersion = "0.2.0"
}

dependencies {
    // for testnet use suffix "-testnet"
    implementation "network.minter.android:minter-android-core-testnet:${minterSdkVersion}"
    
    // for main net
    implementation "network.minter.android:minter-android-core:${minterSdkVersion}"
}

Basic Usage

Initialize it

try {
    MinterSDK.initialize();
} catch (NativeLoadException e) {
    // handle linkage error
}

Usage

See tests

Docs

TODO (javadocs available for now)

Build

TODO (NDK required)