All Projects

Haskoin

Bitcoin full node in Haskell

Haskell

About

A Bitcoin full node in Haskell using Cabal, exploring how pure functional programming and strong type systems apply to consensus-critical code.

Completion 100%

Tech stack

Language
Haskell
Storage
RocksDB
Crypto
libsecp256k1 (C FFI)
Lines of code
34,046

Quick start

terminal
$ git clone https://github.com/hashhog/haskoin.git
$ cd haskoin
$ cabal build

Features

Wire serialization
Cryptographic primitives
Script interpreter
P2P networking
Block validation
UTXO set management
Header sync
Block sync (IBD)
Mempool
RPC server
Wallet
Mining/block templates
Script test vectors (1174/1174)
Testnet4 sync