/as-base58

Encode and Decode base58 strings in AssemblyScript

Primary LanguageWebAssemblyMIT LicenseMIT

as-base58

Base58 encoder / decoder for AssemblyScript.

Special thanks to https://github.com/cryptocoinjs/base-x for the javascript version.

Usage

import { encode, decode } from "as-base58";

const input = "ABCD1234"

assert(input = enocde(decode("ABCD1234"));