Skip to content

A modern base58-check encoding library implemented in TypeScript with minimal dependencies for use in browser and Node.js.

License

Notifications You must be signed in to change notification settings

Web3Pack/base58-check

Repository files navigation

CodeQL Node.js Package

Base58-check encoding library

A modern base58-check encoding library implemented in TypeScript with minimal dependencies for use in browser and Node.js.

Example

import { encode, decode } from '@web3pack/base58-check';

const message = Buffer.from('hello world');

const encodedText = encode(message);
// => '3vQB7B6MrGQZaxCuFg4oh'

const decodedText = decode(encodedText).toString();
// => 'hello world'