bs58smartcheck

2.0.4 • Public • Published

bs58smartcheck

NPM Package

A straight forward implementation of base58check extending upon bs58 for smartcash

Example

var bs58smartcheck = require('bs58smartcheck')
 
var decoded = bs58smartcheck.decode('VMcAbMfj44MqqL1rL4cwxTe8NfgcbAGJUhaXb4rNVqKWpNhf4Za6')
 
console.log(decoded)
// => <Buffer bf ae c5 39 7b 66 d8 86 31 10 bf 6a 84 22 91 43 19 79 96 b2 46 cc 50 24 1d 70 5b 3b b9 5d 97 4e 41 01>
 
console.log(bs58smartcheck.encode(decoded))
// => VMcAbMfj44MqqL1rL4cwxTe8NfgcbAGJUhaXb4rNVqKWpNhf4Za6

LICSENSE MIT

Package Sidebar

Install

npm i bs58smartcheck

Weekly Downloads

614

Version

2.0.4

License

MIT

Last publish

Collaborators

  • davidkevork