marketplace-overlay-services
v0.1.3
Published
Overlay Services for BTMS Asset Exchange Marketplace
Readme
marketplace-overlay-services
Overlay Services for BTMS Asset Exchange Marketplace
API
Table of Contents
MarketplaceLookupService
Implements a lookup service for marketplace
Parameters
$0Object$0.storageEngine$0.topics(optional, default[])
TokenTopicManager
Implements a topic manager for marketplace management
Parameters
confederacyHost(optional, default'https://confederacy.babbage.systems')peerServHost(optional, default'https://peerserv.babbage.systems')messageBox(optional, default'tokens-box')protocolID(optional, default'tokens')basket(optional, default'tokens')topic(optional, default'tokens')satoshis(optional, default1000)privateKey(optional, defaultANYONE)
identifyAdmissibleOutputs
Returns the outputs from the transaction that are admissible.
Parameters
$0{previousUTXOs: Array<Output>, parsedTransaction: Transaction}$0.parsedTransaction
objectall params given in an objectpreviousUTXOsany previous UTXOsparsedTransactiontransaction containing outputs to admit into the current topic
Returns Promise<(Array<number> | AdmissableOutputs)>
License
The license for the code in this repository is the Open BSV License.
