Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utils/base58

Index

Variables

Functions

Variables

Const base58

base58: BaseConverter = ...

Functions

Const decodeBase58

  • decodeBase58(encoded: string): Uint8Array
  • Decode a Base58 string to a Buffer. Throws an error if the checksum is invalid.

    Parameters

    • encoded: string

    Returns Uint8Array

Const encodeBase58

  • encodeBase58(data: Uint8Array): string
  • Encode a Buffer as Base58 string with a checksum applied.

    Parameters

    • data: Uint8Array

    Returns string

Generated using TypeDoc