{"id":30763580,"url":"https://github.com/bitcoindevkit/bdk-jvm","last_synced_at":"2025-09-04T16:11:36.279Z","repository":{"id":306459028,"uuid":"1026250862","full_name":"bitcoindevkit/bdk-jvm","owner":"bitcoindevkit","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-28T17:56:51.000Z","size":106,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-28T23:37:56.655Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitcoindevkit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-25T15:01:34.000Z","updated_at":"2025-08-28T17:16:18.000Z","dependencies_parsed_at":"2025-07-25T22:41:29.616Z","dependency_job_id":"733f8ea6-83b4-4229-932a-f99c3696b5d8","html_url":"https://github.com/bitcoindevkit/bdk-jvm","commit_stats":null,"previous_names":["thunderbiscuit/bdk-jvm","bitcoindevkit/bdk-jvm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bitcoindevkit/bdk-jvm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoindevkit%2Fbdk-jvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoindevkit%2Fbdk-jvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoindevkit%2Fbdk-jvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoindevkit%2Fbdk-jvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitcoindevkit","download_url":"https://codeload.github.com/bitcoindevkit/bdk-jvm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoindevkit%2Fbdk-jvm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273634500,"owners_count":25140995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-04T16:11:30.905Z","updated_at":"2025-09-04T16:11:36.270Z","avatar_url":"https://github.com/bitcoindevkit.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bdk-jvm\n\nThis project builds a .jar package for the JVM platform that provides Kotlin language bindings for the [BDK] libraries. The Kotlin language bindings are created by the `bdk-ffi` project which is included in the root of this repository.\n\n## How to Use\n\nTo use the Kotlin language bindings for BDK in your JVM project add the following to your gradle dependencies:\n\n```kotlin\nrepositories {\n    mavenCentral()\n}\n\ndependencies {\n    implementation(\"org.bitcoindevkit:bdk-jvm:\u003cversion\u003e\")\n}\n```\n\n### Snapshot releases\n\nTo use a snapshot release, specify the snapshot repository url in the `repositories` block and use the snapshot version in the `dependencies` block:\n\n```kotlin\nrepositories {\n    maven(\"https://s01.oss.sonatype.org/content/repositories/snapshots/\")\n}\n\ndependencies { \n    implementation(\"org.bitcoindevkit:bdk-jvm:\u003cversion-SNAPSHOT\u003e\")\n}\n```\n\n## Example Projects\n\n- [Tatooine Faucet](https://github.com/thunderbiscuit/tatooine)\n- [Godzilla Wallet](https://github.com/thunderbiscuit/godzilla-wallet)\n\n## How to build\n\n_Note that Kotlin version `1.9.23` or later is required to build the library._\n1. Install JDK 17. For example, with SDKMAN!:\n```shell\ncurl -s \"https://get.sdkman.io\" | bash\nsource \"$HOME/.sdkman/bin/sdkman-init.sh\"\nsdk install java 17.0.2-tem\n```\n2. Build kotlin bindings\n```sh\nbash ./scripts/build-\u003cyour-local-architecture\u003e.sh\n```\n## Run example files\n\nThe `examples` module show different samples of how some of the APIs can be used. You can run the examples after building as stated above. The gradle task to run is by convention the file name of the example file.\n\n```shell\n./gradlew MultisigTransaction\n```\n\nYou can also list the application tasks. (All examples grouped under application)\n```shell\n./gradlew tasks --group application\n```\n\n## How to publish to your local Maven repo\n\n```shell\n./gradlew publishToMavenLocal -P localBuild\n```\n\nNote that the commands assume you don't need the local libraries to be signed. If you do wish to sign them, simply set your `~/.gradle/gradle.properties` signing key values like so:\n\n```properties\nsigning.gnupg.keyName=\u003cYOUR_GNUPG_ID\u003e\nsigning.gnupg.passphrase=\u003cYOUR_GNUPG_PASSPHRASE\u003e\n```\n\nand use the `publishToMavenLocal` task without the `localBuild` flag:\n\n```shell\n./gradlew publishToMavenLocal\n```\n\n## Known issues\n\n## JNA dependency\n\nDepending on the JVM version you use, you might not have the JNA dependency on your classpath. The exception thrown will be \n```shell\nclass file for com.sun.jna.Pointer not found\n```\n\nThe solution is to add JNA as a dependency like so:\n```kotlin\ndependencies {\n    // ...\n    implementation(\"net.java.dev.jna:jna:5.12.1\")\n}\n```\n\n[BDK]: https://github.com/bitcoindevkit/\n[`bdk-ffi`]: https://github.com/bitcoindevkit/bdk-ffi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoindevkit%2Fbdk-jvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitcoindevkit%2Fbdk-jvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoindevkit%2Fbdk-jvm/lists"}