Skip to content

Commit

Permalink
Update JVM readme with specific Rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Jun 15, 2023
1 parent fe7e4e2 commit 039b64d
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions bdk-jvm/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# bdk-android
# bdk-jvm
This project builds a .jar package for the JVM platform that provide Kotlin language bindings for the [`bdk`] library. The Kotlin language bindings are created by the `bdk-ffi` project which is included in the root of this repository.

## How to Use
Expand Down Expand Up @@ -43,21 +43,21 @@ dependencies {
}
```


## Example Projects
* [Tatooine Faucet](https://github.com/thunderbiscuit/tatooine)

## How to build
_Note that Kotlin version `1.6.10` or later is required to build the library._
1. Install JDK 11. It must be JDK 11 (not 17), otherwise it won't build. For example, with SDKMAN!:
1. Install JDK 11. It must be version 11 (not 17), otherwise it won't build. For example, with SDKMAN!:
```shell
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install java 11.0.19-tem
```
2. Install rust:
2. Install Rust (note that we are currently building using Rust 1.67.0):
```shell
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup default 1.67.0
```
3. Clone this repository.
```shell
Expand All @@ -68,10 +68,9 @@ git clone https://github.com/bitcoindevkit/bdk-ffi
rustup target add x86_64-apple-darwin aarch64-apple-darwin
```
5. Build kotlin bindings
```sh
# build JVM library
./gradlew buildJvmLib
```
```sh
./gradlew buildJvmLib
```

## How to publish to your local Maven repo
```shell
Expand Down

0 comments on commit 039b64d

Please sign in to comment.