createInMemory

open suspend fun createInMemory(walletId: String? = null, walletDid: String? = null, holderDid: String? = null, options: WalletCreationOptions = WalletCreationOptions()): Wallet

Creates an in-memory wallet instance (convenience method for testing).

This is equivalent to calling create("inMemory", walletId, walletDid, holderDid).

Return

The wallet instance

Parameters

walletId

The wallet ID (optional, will be generated if not provided)

walletDid

The wallet DID (optional, will be generated if not provided)

holderDid

The holder DID (required)

options

Additional options for wallet creation