SolanaDerivableAccount

Framework-native Solana derivable account abstraction.

The SDK builds the exact SIWS message from the transaction, including its entry function and chain ID. Applications retain control of credential acquisition through SolanaMessageSigner. Only entry-function transactions are supported because the on-chain authenticator requires an entry-function name.

Constructors

Link copied to clipboard
constructor(publicKey: ByteArray, domain: String, signer: SolanaMessageSigner)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Base58 form embedded in the SIWS message.

Link copied to clipboard

Application domain embedded in the SIWS message.

Link copied to clipboard

Raw 32-byte Ed25519 public key used by the Solana wallet.

Functions

Link copied to clipboard
open suspend override fun signTransaction(transaction: UnsignedTransaction): AptosResult<AccountAuthenticator>

Signs the correct domain-separated message for transaction.