Skip to content

MinterTeam/minter-android-core

Repository files navigation

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://minter.jfrog.io/artifactory/android/" }
    }
}

project build.gradle

ext {
    minterCoreSDK = "1.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)