haskoin-core

Implementation of the core Bitcoin protocol features.

http://github.com/haskoin/haskoin

Version on this page:0.4.2
LTS Haskell 22.36:1.0.4
Stackage Nightly 2024-10-03: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.2@sha256:2a5784c14b99a6620cc86b78e78200dc1be3dc6fc67eda8babda40351c5e2955,7811

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.