bs58check-ts
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Bs58Check Typescript

A quick implementation of base58check extending upon bs58 in TS.

CI

Example

import bs58safe from 'bs58safe')

console.log(bs58safe.decode('5Kd3NBUAdUnhyzenEwVLy9pBKxSwXvE9FMPyR4UKZvpe6E3AgLr'))
// => <Buffer 80 ed db dc 11 68 f1 da ea db d3 e4 4c 1e 3f 8f 5a 28 4c 20 29 f7 8a d2 6a f9 85 83 a4 99 de 5b 19>

console.log(bs58check.encode(decoded))
// => 5Kd3NBUAdUnhyzenEwVLy9pBKxSwXvE9FMPyR4UKZvpe6E3AgLr

/bs58check-ts/

    Package Sidebar

    Install

    npm i bs58check-ts

    Weekly Downloads

    12

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    13.6 kB

    Total Files

    7

    Last publish

    Collaborators

    • h1b9b