WalletFactory

interface WalletFactory

Factory interface for creating Wallet instances.

Eliminates the need for reflection when instantiating Wallet implementations. Follows the same pattern as other factory interfaces (KmsFactory, StatusListManagerFactory, etc.).

Functions

Link copied to clipboard
abstract suspend fun create(providerName: String, walletId: String? = null, walletDid: String? = null, holderDid: String? = null, options: WalletCreationOptions = WalletCreationOptions()): Wallet

Creates a wallet instance from a provider name.

Link copied to clipboard
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).