• Convert a Tendermint ed25519 public key to a consensus address

    Parameters

    • pubkey: Uint8Array

      The tendermint pubkey, should be 32 bytes (ed25519)

    • Optional prefix: string = "secret"

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

    Returns string

    the valcons account's address

Generated using TypeDoc