Token history interpreter for interacting with a Bitcoin overlay network
Interprets the history of a token BRC-8 envelope
-
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
Recursive function for interpreting the history of a token
-
currentEnvelope
-
currentDepth
Returns Promise<Array<string>>
Decodes a pushdrop token TODO: Update to support other data structures! --> Currently coded for kvstore tokens
-
inputEnvelope
The license for the code in this repository is the Open BSV License