Package Exports
- wif
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wif) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
WIF.js
Bitcoin Wallet Import Format encoding/decoding module.
Example
var wif = require('wif')
var d = new Buffer('0000000000000000000000000000000000000000000000000000000000000001')
wif.encode(128, d, true)
// => KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73sVHnoWn
wif.decode(128, 'KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73sVHnoWn')
// => {
// version: 128,
// d: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01>,
// compressed: true
//}