Function buildAccountSigner

  • Creates an AccountSigner for an account exported from a Concordium wallet. Creating signatures using the AccountSigner will hold signatures for all credentials and all their respective keys included in the export.

    Returns

    An AccountSigner which creates signatures using all keys for all credentials

    Parameters

    Returns AccountSigner

  • Creates an AccountSigner for an arbitrary format extending the WithAccountKeys type. Creating signatures using the AccountSigner will hold signatures for all credentials and all their respective keys included.

    Returns

    An AccountSigner which creates signatures using all keys for all credentials

    Type Parameters

    Parameters

    • value: T

    Returns AccountSigner

  • Creates an AccountSigner for the SimpleAccountKeys type. Creating signatures using the AccountSigner will hold signatures for all credentials and all their respective keys included.

    Returns

    An AccountSigner which creates signatures using all keys for all credentials

    Parameters

    Returns AccountSigner

  • 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

    • key: string

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

    Returns AccountSigner

Generated using TypeDoc