@keyring/txo-plugin
> TODO: description
Last updated a year ago by hexorx .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @keyring/txo-plugin 
SYNC missed versions from official npm registry.

@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

Current Tags

  • 0.2.1                                ...           latest (a year ago)

9 Versions

  • 0.2.1                                ...           a year ago
  • 0.2.0                                ...           2 years ago
  • 0.1.6                                ...           2 years ago
  • 0.1.5                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.0.19                                ...           2 years ago
  • 0.0.18                                ...           2 years ago
  • 0.0.17                                ...           2 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2021 © npmmirror.com |