beyondasset-issuance-encoder
The encoding/decoding functions for the beyondasset scheme issuance set of OP_CODES
Last updated 6 months ago by tech1k .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install beyondasset-issuance-encoder 
SYNC missed versions from official npm registry.

Issuance-Encoder

Build Status Coverage Status npm version Slack Status

js-standard-style

Issuance-Encoder provides the encode/decode functions between a BeyondAsset issuance Object to buffer

Installation

$ npm install beyondasset-issuance-encoder

Encode

Params:



Returns a new Buffer holding the encoded issuance.

Example:
var issuanceEncoder = require('beyondasset-issuance-encoder')


Decode

Params:

  • consume - takes a consumable buffer (You can use buffer-consumer like in the example to create one)

Returns a BeyondAsset payment Object

Example:
var issuanceEncoder = require('beyondasset-issuance-encoder')

Testing

In order to test you need to install mocha globaly on your machine

$ cd /"module-path"/beyondasset-issuance-Encoder
$ mocha

License

Apache-2.0

Current Tags

  • 1.2.0                                ...           latest (6 months ago)

1 Versions

  • 1.2.0                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |