haskoin-core

Implementation of the core Bitcoin protocol features.

http://github.com/haskoin/haskoin

Version on this page:0.4.2
LTS Haskell 16.31:0.13.4
Stackage Nightly 2021-06-24:0.20.4
Latest on Hackage:0.20.4

See all snapshots haskoin-core appears in

LicenseRef-PublicDomain licensed by Philippe Laprade, Jean-Pierre Rupp
Maintained by xenog@protonmail.com
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.