WalletSdk

object WalletSdk

High-level entry point for bootstrapping the EUDI wallet from an app.

  • The public API is SDK-centric: the app only sees WalletHandle, ConsentPromptData, and RemotePresentationError. All eu.europa.ec.eudi.* types remain internal to the SDK.

  • The class is UI-agnostic: the host app provides lambdas for consent and authentication.

  • Errors are normalized into RemotePresentationError via RemotePresentationException, so the app can map them to stable UX / error screens.

Typical usage:

val walletHandle = WalletSdk.createWallet(context, options)
val remotePresentation = RemotePresentation(walletHandle, context)

val wallet = WalletSdk.createWallet(appContext, options)
val openId4VciManager = WalletSdk.createOpenId4VciManager(wallet)

Functions

Link copied to clipboard

Builds a default EudiWalletConfig for the given context and options.

Link copied to clipboard

Convenience factory for an SDK-level WalletDocumentManager.

Link copied to clipboard

Convenience factory for OpenId4VciManager.

Link copied to clipboard

Creates an EudiWallet instance using createConfig.