Quick Start

Complete your first mDL verification in under 10 minutes.

Step 1: Initialize the SDK

Initialize the SDK early in your application lifecycle, typically in your Application class or main Activity. You'll need your API key from the Owl Eyes Dashboard.

MainActivity.ktkotlin
Loading...
Tip: For production apps, initialize the SDK in your Application class so it's ready before any Activity needs it.

Step 2: Create a Verification Session

Create a session specifying the verification channel and what claims (data) you want to request. For this example, we'll use QR code verification to check if someone is over 21.

VerificationActivity.ktkotlin
Loading...

Step 3: Process Device Engagement

When the holder scans your QR code with their wallet app, they'll present a response. Process this response to complete the verification:

VerificationActivity.ktkotlin
Loading...

Complete Example

Here's a complete Activity that implements QR-based age verification:

AgeVerificationActivity.ktkotlin
Loading...

Environments

The SDK supports multiple environments for different stages of development:

EnvironmentUse Case
MDLEnvironment.PRODUCTIONLive production traffic with real credentials
MDLEnvironment.SANDBOXTesting with test credentials (no real verification)
MDLEnvironment.DEVELOPMENTLocal development with emulator
Application.ktkotlin
Loading...

Next Steps

Now that you've completed your first verification, explore these topics: