0.2.1 • Published 4 years ago

@keyring/msgpack-plugin v0.2.1

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

@keyring/msgpack-plugin

This plugin allows you to easily insert msgpack encoded data into a transaction. When using this plugin a msgpack method is added to the Keyring Transaction class.

Usage

const BSV = require('@keyring/bsv');
const msgPackPlugin = require('@keyring/msgpack-plugin');

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

let tx = new Transaction();
tx.msgpack({ hello: 'world' });
console.log('data', tx.data()[0]);
0.2.1

4 years ago

0.2.0

4 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago