scribe-tokenator
v0.1.44
Published
Tokenator for Scribe Notes
Downloads
86
Readme
scribe-tokenator
A Tokenator for Scribe Notes
API
Table of Contents
ScribeTokenator
Extends PushDropTokenator
Extends the Tokenator class to enable sending Scribe tokens with custom instructions Peer-to-Peer
Parameters
obj
object? All parameters are given in an object (optional, default{}
)obj.peerServHost
String? The PeerServ host you want to connect to (optional, default'https://staging-peerserv.babbage.systems'
)obj.dojoHost
String? The Dojo to use for UTXO management (optional, default'https://staging-dojo.babbage.systems'
)obj.clientPrivateKey
String? A private key to use for mutual authentication with Authrite. (Optional - Defaults to Babbage signing strategy).
createScribeToken
Parameters
note
Object The note object
sendScribeToken
Sends a Scribe token to a PeerServ recipient
Parameters
note
Object The note object
decryptNotes
Decrypts all available notes in a user's Scribe basket
Returns Array of decrypted note objects
handleRedeem
Deletes or updates a note token