Function bitcoinEncode

  • Encodes a public or private key in base58 using the bitcoin format (see Bitcoin Base58Check encoding and Bitcoin WIF).

    For private keys this encode is also known as wallet import format (WIF).

    Parameters

    • buffer: Uint8Array
    • type: "public" | "private"
    • compressed: boolean = false

    Returns string

Generated using TypeDoc