From d197e17eaae536540f0cf4019daeefcb7bb63b81 Mon Sep 17 00:00:00 2001 From: Sudarsan Balaji Date: Sat, 6 Nov 2021 01:30:36 +0530 Subject: [PATCH] Add some notes on consuming published packages --- README.md | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 72efea4..365e1ac 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,42 @@ for the rust library bdk for the Bitcoin Dev Kit (BDK) project. | Kotlin | Android | WIP | | Swift | iOS | WIP | -## Getting Started + +## Getting Started (User) + +If you just want to consume the language bindings: + +### Kotlin (JVM) + +1. Add the following maven repository location to your build file: +``` +repositories { + maven { + url = uri("https://mymavenrepo.com/repo/hvZOau2SW1xzbycfC96m/") + } +} +``` +1. Add the dependency +``` +implementation("org.bitcoindevkit:bdk-jvm:0.1.0") +``` + +### Kotlin (Android) + +1. Add the following maven repository location to your build file: +``` +repositories { + maven { + url = uri("https://mymavenrepo.com/repo/hvZOau2SW1xzbycfC96m/") + } +} +``` +1. Add the dependency +``` +implementation("org.bitcoindevkit:bdk-android:0.1.0") +``` + +## Getting Started (Developer) This project uses rust. A basic knowledge of the rust ecosystem is helpful.