babbage-historian
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

historian

Token history interpreter for interacting with a Bitcoin overlay network

API

Table of Contents

Historian

Interprets the history of a token BRC-8 envelope

Parameters

  • correctOwnerKey string the ownerKey used in pushdrop to create the locking script
  • correctSigningKey string the signing key that should have been used
  • validate any? dynamic validation function to filter history

interpret

Recursive function for interpreting the history of a token

Parameters
  • currentEnvelope
  • currentDepth

Returns Promise<Array<string>>

decodeTokenValue

Decodes a pushdrop token TODO: Update to support other data structures! --> Currently coded for kvstore tokens

Parameters
  • inputEnvelope

License & Confidentiality

The license for the code in this repository is the Open BSV License

/babbage-historian/

    Package Sidebar

    Install

    npm i babbage-historian

    Weekly Downloads

    10

    Version

    0.1.2

    License

    Open BSV License

    Unpacked Size

    54.1 kB

    Total Files

    19

    Last publish

    Collaborators

    • tyeverett
    • braydude