Function addressFromPQSig

  • Derive the account address that a post-quantum signature authorizes.

    Unlike an Ed25519 signature, a PQ signature carries the scheme, salt and public key of the signing account, so the address it authorizes is fully determined by the signature and does not have to be supplied out of band.

    This also validates the signature's self-consistency: the salt must be the canonical one for the given scheme and public key, which is what the network requires.

    Parameters

    • pqsig: EncodedPQSig

      The post-quantum signature to derive the address from.

    Returns Address

    The address of the account the signature authorizes.

Generated using TypeDoc