bc-bech32
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

bc-bech32

this library is for implementing BlockChain Commons bc-32

an encoding

Installation

yarn add bc-bech32

Test

    yarn test

Build

    yarn build

Sample

    import { encodeBc32Data, decodeBc32Data, encodeSegwitAddress, decodeSegwitAddress } from '../src';
    const data = encodeBc32Data('48656c6c6f20776f726c64');
    console.log(data) // fpjkcmr0ypmk7unvvsh4ra4j

note: for using the node vesion should be upper than 10.16

this library is inspire on the bech32. Thanks for the good library.

Readme

Keywords

none

Package Sidebar

Install

npm i bc-bech32

Weekly Downloads

169

Version

1.0.2

License

MIT

Unpacked Size

21.9 kB

Total Files

10

Last publish

Collaborators

  • soralit