Function base64TendermintPubkeyToValconsAddress

  • Convert a secp256k1 compressed public key to an address

    Parameters

    • pubkey: string

      The account's pubkey as base64 string, should be 33 bytes (compressed secp256k1)

    • Optional prefix: string = "secret"

      The address' bech32 prefix. Defaults to "secret".

    Returns string

    the account's address

Generated using TypeDoc