0.2.1 • Published 5 years ago

@keyring/txo-plugin v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

@keyring/txo-plugin

This plugin adds TXO conversion capabilities to the Keyring Transaction class. Using the plugin allows you to easily transform the raw transaction data into a JSON structured format to then use within Planaria for powerful queries and filters.

Usage

const BSV = require('@keyring/bsv');
const TXOPlugin = require('@keyring/txo-plugin');

const Transaction = BSV.Transaction;
Transaction.use(new TXOPlugin());

let tx = new Transaction([raw hex format as a string]);
let txo = tx.txo();
// Do something with the txo JSON data such as inserting into a mongodb for querying capabilities
0.2.1

5 years ago

0.2.0

5 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.2

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago