simpleledger
0.0.1 • Public • Published slp-lib
slp address format conversion usage
let SlpUtils = require('slp-lib').slputils
var slpAddr = SlpUtils.cashToSlpAddr("bitcoincash:qzat5lfxt86mtph2fdmp96stxdmmw8hchyxrcmuhqf");
console.log(slpAddr);
// simpleledger:qzkpdhw8xwe2x2dt7mqtxwjrpfnlrclkwqvhlgwxy8
var cashAddr = SlpUtils.slpToCashAddr(slpAddr);
console.log(cashAddr);
// bitcoincash:qzat5lfxt86mtph2fdmp96stxdmmw8hchyxrcmuhqf
Dependencies (2)
Dev Dependencies (0)
Package Sidebar
Install
Weekly Downloads