Bitcoinml is a Bitcoin data-structures library for OCaml.
This project is directly related to letchain (https://github.com/dakk/letchain), an OCaml Bitcoin full-node implementation still work-in-progress.
Bitcoinml provides support for the following data-structures:
- Address (with also bech32 addresses)
- Block
- Block_lazy (lazy block evaluation)
- Hash
- Merkleroot
- Script (script execution, common pattern recognizer)
- Tx (In, Out, Witness)
- Varint (CompactSize)
- Params (network parameters for BTC, XTN and BCH)
Repository + odoc: https://github.com/dakk/bitcoinml