Abstracted Account
open class AbstractedAccount(val accountAddress: AccountAddress, val authenticationFunction: AuthenticationFunction, signer: AbstractionSigner, accountIdentity: ByteArray? = null) : TransactionSigner
A transaction signer whose authentication logic is implemented by a Move function.
Inheritors
Constructors
Link copied to clipboard
constructor(accountAddress: AccountAddress, authenticationFunction: AuthenticationFunction, signer: AbstractionSigner, accountIdentity: ByteArray? = null)
Functions
Link copied to clipboard
Signs arbitrary bytes without imposing a display encoding.
Link copied to clipboard
Signs UTF-8 text. Wallet implementations may present this text to the user.
Link copied to clipboard
open suspend override fun signTransaction(transaction: UnsignedTransaction): AptosResult<AccountAuthenticator>
Signs the correct domain-separated message for transaction.
Link copied to clipboard
Replace application-owned signing context after wallet or policy state changes.
Link copied to clipboard
Verifies signature against arbitrary bytes using this signer's public key.