terminus icon indicating copy to clipboard operation
terminus copied to clipboard

Crawl and subscribe to Bitcoin transaction events using Bitbus, Bitsocket and BitFS.

Terminus

Terminus - Crawl and subscribe to Bitcoin transaction events using Bitbus, Bitsocket and BitFS.

Hex.pm License Build Status

Terminus allows you to crawl and subscribe to Bitcoin transaction events and download binary data from transactions, using a combination of Bitbus and Bitsocket, and BitFS.

Terminus provides a single unified interface for querying Planaria corp APIs in a highly performant manner. Each request is a GenStage process, enabling you to create powerful concurrent data flows. Terminus may well be the most powerful way of querying Bitcoin in the Universe!

Installation

The package can be installed by adding terminus to your list of dependencies in mix.exs.

def deps do
  [
    {:terminus, "~> 0.1"}
  ]
end

Getting started

Terminus can be used as a simple API client, or a turbo-charged, concurrent multi-stream Bitcoin scraper on steroids. You decide.

The following documented modules, are the primary ways of using Terminus.

  • Terminus.Bitbus - functions for crawling and query confirmed Bitcoin transactions.
  • Terminus.Bitsocket - query mempool transactions and listen to realtime transaction events.
  • Terminus.BitFS - fetch binary data blobs embedded in Bitcoin transactions.
  • Terminus.Omni - conveniently fetch confirmed and mempool transactions together.
  • Terminus.Planaria - run Bitcoin scraper processes under your application's supervision tree.

License

Terminus is open source and released under the Apache-2 License.

© Copyright 2020 Chronos Labs Ltd.