Getting Started

Bitcoin4J is a Bitcoin library for the Java Virtual Machine licensed under the terms of the Apache License 2.0. It works will all major JVM languages including Kotlin, Java and Scala.

This library has been built in line with the ideals espoused by BitcoinSV, i.e. massive on-chain scaling, protocol stability and original-bitcoin-protocol implementation.

The source code for the library is available on Github.

All code samples in the subsequent sections will be provided using Kotlin


Binaries for the Bitcoin4J library are available on Maven Central.

Gradle Dependencies


Maven Dependencies