mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-19 05:43:51 +01:00
Bitcoin Implementation in Scala
16538980e3
* Fix missing super.stop() to shutdown DbAppConfig db connection pool inside of all DbAppConfig subclasses that override stop() * Fix import * Remove implicit modifier to NodeUnitTest.getFreshConfig(), make sure we are shutting down chainAppConfig inside NodeUnitTest * Remove chainTest subclasses implementing ActorSystem, make sure we do correct cleanup in ChainUnitTest * Decouple CachedChainAppConfig & CachedAppConfig. When using only one sub module in the CachedAppConfig, teardown may fail as the other modules might not be started such as using chainAppConfig in chainTest, BitcoinSAppConfig.stop() requires us to call nodAppConfig.stop() first, which isn't started. * Push to github to force re-run of CI 4 |
||
---|---|---|
.github | ||
app | ||
app-commons | ||
app-commons-test/src/test/scala/org/bitcoins/commons | ||
async-utils/src/main/scala/org/bitcoins/asyncutil | ||
async-utils-test/src/test/scala/org/bitcoins/asyncutil | ||
bench | ||
bitcoin-s-docs | ||
bitcoind-rpc | ||
bitcoind-rpc-test | ||
chain | ||
chain-test/src/test | ||
core | ||
core-test | ||
crypto | ||
crypto-test | ||
db-commons | ||
db-commons-test/src/test/scala/org/bitcoins/db | ||
dlc-oracle/src/main | ||
dlc-oracle-test/src/test/scala/org/bitcoins/dlc/oracle | ||
docs | ||
eclair-rpc | ||
eclair-rpc-test | ||
fee-provider/src/main/scala/org/bitcoins/feeprovider | ||
fee-provider-test/src/test/scala/org/bitcoins/feeprovider | ||
key-manager | ||
key-manager-test/src/test/scala/org/bitcoins/keymanager | ||
lnd-rpc | ||
lnd-rpc-test/src/test/scala/org/bitcoins/lnd/rpc | ||
node | ||
node-test/src/test/scala/org/bitcoins/node | ||
oracle-explorer-client/src | ||
project | ||
release-notes | ||
secp256k1-zkp@6dd724b72b | ||
secp256k1jni | ||
testkit | ||
testkit-core | ||
wallet | ||
wallet-test/src/test | ||
website | ||
zmq | ||
.dockerignore | ||
.gitignore | ||
.gitmodules | ||
.jvmopts | ||
.scalafmt.conf | ||
build.sbt | ||
CONTRIBUTING.md | ||
docker-compose.yml | ||
Dockerfile | ||
inThisBuild.sbt | ||
LICENSE | ||
README.md | ||
try-bitcoin-s.sh |
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
Getting started
https://bitcoin-s.org/docs/getting-started
Adding bitcoin-s to your library
The latest release of bitcoin-s is v0.5.0
, here is how you can use the dependencies in your projects:
libraryDependencies += "org.bitcoin-s" % "bitcoin-s-secp256k1jni" % "0.5.0"
libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-core" % "0.5.0"
libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-crypto" % "0.5.0"
libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-chain" % "0.5.0"
libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-dlc-oracle" % "0.5.0"
libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-db-commons" % "0.5.0"
libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-fee-provider" % "0.5.0"
libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-bitcoind-rpc" % "0.5.0"
libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-eclair-rpc" % "0.5.0"
libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-key-manager" % "0.5.0"
libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-node" % "0.5.0"
libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-wallet" % "0.5.0"
libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-testkit" % "0.5.0"
libraryDependencies += "org.bitcoin-s" %% "bitcoin-s-zmq" % "0.5.0"
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