haskoin-core

Implementation of the core Bitcoin protocol features.

http://github.com/haskoin/haskoin

Version on this page:0.4.0
LTS Haskell 22.18:1.0.4
Stackage Nightly 2024-04-22:1.1.0
Latest on Hackage:1.1.0

See all snapshots haskoin-core appears in

LicenseRef-PublicDomain licensed by Philippe Laprade, Jean-Pierre Rupp
Maintained by [email protected]
This version can be pinned in stack with:haskoin-core-0.4.0@sha256:78d331b79f06e7113aa0c1d018acb527e4da0c5d820db0db3f8697889554df6b,7771

Haskoin is a package implementing the core functionalities of the Bitcoin protocol specifications. The following features are provided:

  • Hashing functions (sha-256, ripemd-160)

  • Base58 encoding

  • BIP32 extended key derivation and parsing (m1'2/3)

  • BIP39 mnemonic keys

  • ECDSA cryptographic primitives (using the C library libsecp256k1)

  • Script parsing and evaluation

  • Building and signing of standard transactions (regular, multisig, p2sh)

  • Parsing and manipulation of all Bitcoin protocol types

  • Bloom filters and partial merkle tree library (used in SPV wallets)

  • Comprehensive test suite

A wallet implementation is available in haskoin-wallet which uses both this package and the node implementation in haskoin-node.