Function buildBasicAccountSigner

  • Creates an AccountSigner for an account which uses the first credential's first keypair. Note that if the account has a threshold > 1 or the first credentials has a threshold > 1, the transaction signed using this will fail.

    Returns

    an AccountSigner which creates a signature using the first credentials first keypair

    Parameters

    • privateKey: string

      the ed25519 private key in HEX format. (First credential's first keypair's private key)

    Returns AccountSigner

Generated using TypeDoc