sdk-core
The Wallet SDK: hold and verify verifiable credentials (a mobile driving licence, a national ID card, a competition licence) in your Android app. Everything you call is in com.wallet.*.
Getting started in Android Studio
Unzip
android/from the SDK zip into your project asvendor/wallet-maven/.In
settings.gradle.kts, addmaven { url = uri("vendor/wallet-maven") }to the repositories.In your app's
build.gradle.kts, addimplementation("com.wallet.sdk:sdk-core:<version>"), andcom.wallet.sdk:sdk-ui-composefor the ready-made screens. Click Sync Now.Create the SDK once, when your app starts:
// A verifier app: accept these issuers, and sign your requests so wallets show your name.
val sdk = Wallet.createVerifier(TrustedIssuers(signedList = issuerList), readerIdentity)
// A wallet app: where credentials come from, and which verifiers to name on the consent sheet.
val sdk = Wallet.createWallet(IssuerConfig(issuerUrl, clientId, redirectUri), TrustedVerifiers(signedList = readerList))Step-by-step guides: /in-person/ and /wallet/.
The API by task
| Task | Start with |
|---|---|
| Set up the SDK | Wallet, WalletSdk, TrustedIssuers, TrustedVerifiers, IssuerConfig, ReaderIdentityConfig |
| Verify in person | VerifierClient, VerificationSession, PresentationRequest, RequestPreset, AcceptanceResult |
| Hold and present | WalletClient, CredentialSummary, CredentialDetail, PresentmentSession, ScannedCode |
| Check before sharing | ShareGuard, ShareGuardResult, PendingShare (the face check: module sdk-face) |
| Document types | DocTypes, CredentialType, CredentialAttribute |
| Results and errors | SdkResult, SdkError |
| Ready-made screens | module sdk-ui-compose |
Dependencies
Android 8.0 (API 26) or later; JDK 17; Kotlin 2.2; Android Gradle Plugin 8.x.
The library declares its own permissions (Bluetooth, camera, NFC); no manifest changes to verify in person.
Open-source components included in the SDK are listed, with their licences, in
NOTICEin the zip.
Changelog
What changed in each version: /platform/versions/.
The Wallet SDK: hold and verify verifiable credentials (a mobile driving licence, a national ID card, a competition licence) in your Android app. Everything you call is in com.wallet.*.
Getting started in Android Studio
Unzip
android/from the SDK zip into your project asvendor/wallet-maven/.In
settings.gradle.kts, addmaven { url = uri("vendor/wallet-maven") }to the repositories.In your app's
build.gradle.kts, addimplementation("com.wallet.sdk:sdk-core:<version>"), andcom.wallet.sdk:sdk-ui-composefor the ready-made screens. Click Sync Now.Create the SDK once, when your app starts:
// A verifier app: accept these issuers, and sign your requests so wallets show your name.
val sdk = Wallet.createVerifier(TrustedIssuers(signedList = issuerList), readerIdentity)
// A wallet app: where credentials come from, and which verifiers to name on the consent sheet.
val sdk = Wallet.createWallet(IssuerConfig(issuerUrl, clientId, redirectUri), TrustedVerifiers(signedList = readerList))Step-by-step guides: /in-person/ and /wallet/.
The API by task
| Task | Start with |
|---|---|
| Set up the SDK | Wallet, WalletSdk, TrustedIssuers, TrustedVerifiers, IssuerConfig, ReaderIdentityConfig |
| Verify in person | VerifierClient, VerificationSession, PresentationRequest, RequestPreset, AcceptanceResult |
| Hold and present | WalletClient, CredentialSummary, CredentialDetail, PresentmentSession, ScannedCode |
| Check before sharing | ShareGuard, ShareGuardResult, PendingShare (the face check: module sdk-face) |
| Document types | DocTypes, CredentialType, CredentialAttribute |
| Results and errors | SdkResult, SdkError |
| Ready-made screens | module sdk-ui-compose |
Dependencies
Android 8.0 (API 26) or later; JDK 17; Kotlin 2.2; Android Gradle Plugin 8.x.
The library declares its own permissions (Bluetooth, camera, NFC); no manifest changes to verify in person.
Open-source components included in the SDK are listed, with their licences, in
NOTICEin the zip.
Changelog
What changed in each version: /platform/versions/.