@web3pack/base58-check
v1.0.3
Published
A modern base58-check encoding library implemented in TypeScript with minimal dependencies for use in browser and Node.js.
Downloads
3,794
Maintainers
Readme
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'