Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/capi/deps/std/encoding/base58.ts

[WIP] A framework for crafting interactions with Substrate chains
Latest
import * as capi from "https://deno.land/x/capi@v0.1.1-beta.1/deps/std/encoding/base58.ts";

encode and decode for base58 encoding.

This module is browser compatible.

Functions

Decodes a given b58 string according to draft-mspotny-base58-03 RFC base58 representation: https://tools.ietf.org/id/draft-msporny-base58-01.html#rfc.section.1

Encodes a given Uint8Array, ArrayBuffer or string into draft-mspotny-base58-03 RFC base58 representation: https://tools.ietf.org/id/draft-msporny-base58-01.html#rfc.section.1