fiatjaf / scoin   0.7.0

Apache License 2.0 GitHub

simple bitcoin helpers for scala

Scala versions: 3.x 2.13
Scala.js versions: 1.x
Scala Native versions: 0.4

scoin

A simple Bitcoin library for Scala that is mostly copied from ACINQ's projects, then sanitized and shuffled around. It works on Scala JVM, Scala Native and Scala JS.

See API documentation on https://javadoc.io/doc/com.fiatjaf/scoin_3/latest/.

Projects using scoin

libsecp256k1 dependencies

When using scoin with Scala Native or Scala JVM it is necessary to have libsecp256k1 available as a shared library. You can get it from your OS package manager where it is usually called either secp256k1 or libsecp256k1, or install it from the source which isn't hard at all.

JavaScript dependencies

When using scoin from Scala.js we require some dependencies from npm. If you are using sbt-npm-dependencies they are available under Compile / npmTransitiveDependencies and sbt-esbuild is recommended if you need to bundle everything for the browser.