@hackage haskoin-store0.64.4

Storage and index for Bitcoin and Bitcoin Cash

Haskoin Store

Block chain store and index featuring:

  • Persistent storage using RocksDB.
  • Bitcoin Cash (BCH) support.
  • Bitcoin Core (BTC) support.
  • Indices for address balances, transactions, and unspent outputs (UTXO).
  • Persistent mempool.
  • Replace Bitcoin Core (BTC) RBF transactions by default.
  • Query transactions, balances and UTXO on extended keys (xpub).
  • Optional accelerated xpub cache using Redis.
  • RESTful API with JSON and binary serialization.
  • High performance concurrent architecture.

Install with Nix on any distribution

nix-env --install stack
git clone https://github.com/haskoin/haskoin-store.git
cd haskoin-store
stack --nix build --copy-bins
~/.local/bin/haskoin-store --help

Install on Ubuntu or Debian

apt install git zlib1g-dev libsecp256k1-dev librocksdb-dev pkg-config haskell-stack
git clone https://github.com/haskoin/haskoin-store.git
cd haskoin-store
stack build --copy-bins
~/.local/bin/haskoin-store --help

Non-Haskell Dependencies

API Documentation