This project wraps the bdk library in to an android aar library to be used in an Android app.
-
Clone bdk project (if not already cloned) and follow README instructions in that project to setup environment.
cd .. git clone https://github/bitcoindevkit/bdk cd bdk more README.md -
Build and install rust based library files for all target platform os architectures
./build-lib.sh ./install-lib.sh -
Before running tests set library path
osx
export JAVA_LIBRARY_PATH=[project_home]/lib/src/test/jniLibs/x86_64linux
export LD_LIBRARY_PATH=[project_home]/lib/src/test/jniLibs/x86_64 -
Deploy AAR to local maven repository
./gradlew clean build uploadArchives