1.1.1 • Published 7 years ago

cc-issuance-encoder v1.1.1

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
7 years ago

Issuance-Encoder

Build Status Coverage Status npm version Slack Status

js-standard-style

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

Installation

$ npm install cc-issuance-encoder

Encode

Params:

Returns a new Buffer holding the encoded issuance.

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

Decode

Params:

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

Returns a Colored Coins payment Object

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

Testing

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

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

License

Apache-2.0

1.1.1

7 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.3.4

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago