haskoin-core

Implementation of the core Bitcoin protocol features.

http://github.com/haskoin/haskoin

Version on this page:0.3.1
LTS Haskell 22.17:1.0.4
Stackage Nightly 2024-04-19: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.3.1@sha256:877993978f142d569dd64caedf7c5b55a943c40407025272a31b5e37e6fbc27b,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.