Home

Awesome

Kotlin Maven Central Github Actions License

Kotlin Multiplatform Bitcoin Library

Overview

This is a simple Kotlin Multiplatform library which implements most of the bitcoin protocol:

Objectives

Our goal is not to re-implement a full Bitcoin node but to build a library that implements all the primitives that you need to create bitcoin applications: building and signing transactions, verifying transactions, working with custom bitcoin scripts, parsing blocks, headers, transactions, building BIP39 wallets...

And of course we use this library in our new multiplaform lightning engine https://github.com/ACINQ/lightning-kmp.

Our runtime targets are:

Status

Install

bitcoin-kmp is available on maven central

libscp256k1 support

You need to add a JVM implementation of Secp256k1 to your project in order to use bitcoin-kmp with JVM.

Please refer the Secp256k1 installation section.

Usage

Please have a look at unit tests, more samples will be added soon.