Bitcoin Implementation in Scala
  • Scala 98.9%
  • Java 0.6%
  • JavaScript 0.4%
Find a file
2026-11-07 21:47:51 -06:00
.github Fix recurring Release and Dependabot CI failures (#6475) 2026-08-28 14:07:31 -05:00
app Serialize ZMQ wallet callback processing (#6476) 2026-08-29 10:32:07 -05:00
app-commons Refactor ServerGrpc test fixtures to run against a real chain/node rather than mock (#6360) 2026-05-27 19:25:51 -05:00
app-commons-test/src/test/scala/org/bitcoins/commons Add Taproot witness support to decodeRawTransaction (#6194) 2026-02-03 18:58:51 -06:00
async-utils/src/main/scala/org/bitcoins/asyncutil chore: fix some minor issues in the comments (#6243) 2026-03-18 18:53:22 -05:00
async-utils-test/src/test/scala/org/bitcoins/asyncutil Add -Xsource:3 to docs/ (#5581) 2024-05-10 12:37:02 -05:00
bench Close various sources used throughout the codebase (#6150) 2025-11-28 10:05:02 -06:00
bitcoin-s-docs Pin docusaurusVersion to V1 to fix docs/publishWebsite (#6421) 2026-07-24 12:47:44 -05:00
bitcoind-rpc Bump bitcoind minor versions to 29.4, 30.3, 31.1 (#6419) 2026-07-23 13:04:05 -05:00
bitcoind-rpc-test feat(chain-api): add getBlockchainFrom methods to ChainApi (#6365) 2026-05-26 13:51:30 -05:00
chain feat(chain): add Blockchain.getMedianTimePast(header) overload with targeted test coverage (#6368) 2026-05-27 13:43:12 -05:00
chain-test Compute median time past near genesis over existing ancestors (#6534) 2026-11-07 21:10:55 -06:00
clightning-rpc clightningRpc: Upgrade clightning RPC to 25.09 (#6108) 2025-10-10 15:05:35 -05:00
clightning-rpc-test clighntingRpc: Update clightning to 24.11.2 (#5896) 2025-10-09 16:43:00 -05:00
core Compute median time past near genesis over existing ancestors (#6534) 2026-11-07 21:10:55 -06:00
core-test core: require compressed public keys when building segwit v0 witnesses (#6531) 2026-10-11 13:31:07 -05:00
crypto Grind for low R by the R value, as Bitcoin Core does (#6533) 2026-10-11 13:28:38 -05:00
crypto-test Grind for low R by the R value, as Bitcoin Core does (#6533) 2026-10-11 13:28:38 -05:00
db-commons dbCommons: Cleanup noisy INFO log (#6332) 2026-05-12 13:14:53 -05:00
db-commons-test/src/test Fix flyway.clean() not removing tables in SQLite databases (#6303) 2026-05-08 15:09:07 -05:00
dlc-node Pull over modules from #5713 that have source compatible scala3 changes (#6257) 2026-03-17 19:39:58 -05:00
dlc-node-test Pull over modules from #5713 that have source compatible scala3 changes (#6257) 2026-03-17 19:39:58 -05:00
dlc-oracle/src/main build: More scala3 backward compatible syntax changes from #5713 (#6265) 2026-03-21 12:38:51 -05:00
dlc-oracle-test/src/test/scala/org/bitcoins/dlc/oracle build: More scala3 backward compatible syntax changes from #5713 (#6265) 2026-03-21 12:38:51 -05:00
dlc-wallet/src/main build: Pull over more scala3 syntax from #5713 (#6272) 2026-03-23 13:58:44 -05:00
dlc-wallet-test Pull over modules from #5713 that have source compatible scala3 changes (#6257) 2026-03-17 19:39:58 -05:00
docs crypto: fix 8 lax/unsafe parsing findings in the crypto module (#6453) 2026-08-23 14:54:17 -05:00
eclair-rpc Remove v28 bitcoind RPC support (EOL) (#6290) 2026-04-25 14:07:13 -05:00
eclair-rpc-test chore: fix some minor issues in the comments (#6151) 2026-02-05 14:37:51 -06:00
esplora/src/main/scala/org/bitcoins/esplora Pull over modules from #5713 that have source compatible scala3 changes (#6257) 2026-03-17 19:39:58 -05:00
esplora-test/src/test/scala/org/bitcoins/esplora Update scalafmt-core to 3.8.1 (#5501) 2024-04-20 19:55:49 -05:00
fee-provider/src/main/scala/org/bitcoins/feeprovider Pull over modules from #5713 that have source compatible scala3 changes (#6257) 2026-03-17 19:39:58 -05:00
fee-provider-test/src/test/scala/org/bitcoins/feeprovider feeProvider: Ignore bitcoiner.live as site seems to be down (#5854) 2025-01-15 09:16:55 -06:00
key-manager wallet: Cache keymanager (#6242) 2026-03-13 15:41:45 -05:00
key-manager-test/src/test/scala/org/bitcoins/keymanager dbCommons: Fix setting WAL for sqlite connections, don't register mbeans (#6246) 2026-03-08 17:56:15 -05:00
lnd-rpc Update LND RPC support to v0.20.1-beta (#6261) 2026-03-18 18:34:59 -05:00
lnd-rpc-test Pull over simple syntax changes for {cli,oracleServer,bench,dlcNode,dlcOracle,dlcOracleTest,eclairRpc,lndRpc,lndRpcTest} from #5713 (#5721) 2024-10-17 15:41:43 -05:00
node build: More scala3 backward compatible syntax changes from #5713 (#6265) 2026-03-21 12:38:51 -05:00
node-test Refactor ServerGrpc test fixtures to run against a real chain/node rather than mock (#6360) 2026-05-27 19:25:51 -05:00
project Update guava to 33.8.0-jre (#6563) 2026-11-07 21:47:51 -06:00
release-notes Update release notes to 2f04561e03 (#6270) 2026-03-21 14:17:48 -05:00
secp256k1-zkp@bdaae8859c 2026 01 16 update libsecp256k1-zkp (#6181) 2026-01-17 13:24:23 -06:00
secp256k1jni 2026 01 16 update libsecp256k1-zkp (#6181) 2026-01-17 13:24:23 -06:00
testkit Fix testkit zmq queue race causing chain MTP flake (#6490) 2026-09-04 14:16:34 -05:00
testkit-core crypto: fix 8 lax/unsafe parsing findings in the crypto module (#6453) 2026-08-23 14:54:17 -05:00
tor Pull over modules from #5713 that have source compatible scala3 changes (#6257) 2026-03-17 19:39:58 -05:00
tor-test/src/test/scala/org/bitcoins/tor Update scalafmt-core to 3.8.1 (#5501) 2024-04-20 19:55:49 -05:00
wallet build: Pull over more scala3 syntax from #5713 (#6272) 2026-03-23 13:58:44 -05:00
wallet-test Pull over modules from #5713 that have source compatible scala3 changes (#6257) 2026-03-17 19:39:58 -05:00
website Bump qs from 6.15.0 to 6.17.1 in /website (#6571) 2026-11-07 21:46:16 -06:00
zmq Pull over simple syntax changes for scala3 pt2 (#5720) 2024-10-17 14:14:32 -05:00
.dockerignore WIP: Docusaurus website (#465) 2019-05-14 18:05:14 -05:00
.gitignore Support for Tor Docker (#4223) 2022-03-29 08:10:34 -05:00
.gitmodules 2026 01 16 update libsecp256k1-zkp (#6181) 2026-01-17 13:24:23 -06:00
.jvmopts Remove -Xms512m, bump -Xmx to 8gb from 4gb (#6229) 2026-02-18 14:54:51 -06:00
.scalafmt.conf Update dialect to scala213source3 (#5536) 2024-04-21 11:53:25 -05:00
build.sbt feat: Add DLC gRPC routes and gRPC CLI client (#6354) 2026-05-22 13:10:04 -05:00
CLAUDE.md Fix PSBT map-parsing desync when a record's value doesn't re-serialize byte-identically (#6415) 2026-07-22 19:20:33 -05:00
CONTRIBUTING.md WIP: Docusaurus website (#465) 2019-05-14 18:05:14 -05:00
docker-compose.yml build: Re-add {wallet,oracle}-server-extra-startup-script.sh to fix broken jlink jre on arm64 machines (#6263) 2026-03-19 14:19:39 -05:00
Dockerfile WIP: Docusaurus website (#465) 2019-05-14 18:05:14 -05:00
flyway.conf Upgrade dependencies (#4705) 2022-09-05 07:11:23 -05:00
inThisBuild.sbt Update scala-library to 2.13.18 (#6149) 2025-11-28 10:04:34 -06:00
LICENSE Update LICENSE (#5892) 2025-01-28 08:52:00 -06:00
README.md Bump versions throughout the codebase to 1.9.12 (#6268) 2026-03-21 13:58:13 -05:00
try-bitcoin-s.sh Update try-bitcoin-s.sh (#1165) 2020-02-26 07:50:17 -06:00

Bitcoin-S logo Build Status Coverage Status Maven Central Gitter chat

Feature-rich toolkit for making Bitcoin and Lightning applications on the JVM.

For a complete guide on how to get started with Bitcoin-S, see our website at Bitcoin-S.org.

Contents

Running bitcoin-s

Docker

In this repo, you can just run

APP_PASSWORD=topsecret docker compose up

which will spin up a docker environment that starts syncing the backend and will allow you to visit the web frontend of the wallet at localhost:3002

or you can build and run the electron app natively.

git clone https://github.com/bitcoin-s/bitcoin-s-ts.git
cd bitcoin-s-ts && ./build-wallet-electron.sh

Getting setup (developers)

For a complete guide on how to get setup with bitcoin-s, see our Getting setup.

This link is intended for setting up development of bitcoin-s. If you want to just install bitcoin-s rather than develop, see Getting started above.

Adding bitcoin-s to your library

The latest release of bitcoin-s is 1.9.12, here is how you can use the dependencies in your projects:

libraryDependencies += "org.bitcoin-s" % "bitcoin-s-secp256k1jni" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-core" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-crypto" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-chain" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-dlc-oracle" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-app-commons" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-db-commons" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-fee-provider" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-bitcoind-rpc" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-eclair-rpc" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-lnd-rpc" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-key-manager" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-node" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-dlc-node" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-wallet" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-dlc-wallet" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-testkit-core" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-testkit" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-zmq" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-tor" % "1.9.12"

libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-cli" % "1.9.12"

Docker images

We publish docker images to docker hub on every PR merge and tag on github. You can obtain the images for both the app server and oracle server on these docker hub repos

bitcoin-s docker hub repo

oracle-server docker hub repo

Contributing

Bitcoin-S is an open source project where anyone is welcome to contribute. All contributions are encouraged and appreciated, whether that is code, testing, documentation or something else entirely.

See here for more information.

Good first issues

Here is a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with the bitcoin-s contribution process.

License

Bitcoin-s is MIT licensed, as found in the LICENSE file.