• Convert a Tendermint ed25519 public key to a consensus address

    Returns

    the valcons account's address

    Parameters

    • pubkey: Uint8Array

      The tendermint pubkey, should be 32 bytes (ed25519)

    • Optional prefix: string

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

    Returns string

Generated using TypeDoc