Last update: March 2026
This repository provides a reference architecture and specification describing how the European Digital Identity Wallet (EUDI Wallet) can enable secure and compliant crypto-asset payments while preserving the decentralized nature of blockchain settlement.
The primary scenario described is a person-to-merchant (P2M) crypto payment, where a natural person pays a merchant using a self-custodial crypto wallet, while the EUDI Wallet provides the trusted identity, authentication, and consent layer.
The architecture demonstrates how identity-verified crypto payments can be implemented in alignment with European regulatory frameworks including eIDAS 2.0, MiCA, GDPR, and ARF TS12 Strong Customer Authentication.
The complete specification is available here:
The growth of digital assets, stablecoins, and decentralized finance is transforming digital commerce. However, large-scale adoption in Europe requires solutions that combine:
- regulatory compliance
- strong authentication
- privacy-preserving identity verification
- interoperability with the European Digital Identity framework
This project illustrates how EUDI Wallets and self-custodial crypto wallets can work together to enable secure, identity-verified blockchain payments.
In this architecture:
- the EUDI Wallet performs identity authentication and transaction consent
- the crypto wallet performs the blockchain transaction
- a payment gateway orchestrates the payment interaction
- the blockchain acts purely as the settlement layer
No intermediary holds funds or executes blockchain transactions on behalf of the user.
The architecture separates identity verification, payment authorization, and transaction execution into independent layers.
The EUDI Wallet acts as the identity and consent layer.
It allows the payer to:
- authenticate using PID or equivalent identity credentials
- present Proof of Crypto Account Ownership credentials
- provide explicit transaction consent
- sign authorization using advanced electronic signatures
Authentication follows the Strong Customer Authentication (SCA) framework defined in EUDI ARF TS12.
The blockchain transaction is executed directly by the payer using their self-custodial crypto wallet.
This ensures:
- full control of funds by the user
- no custody by intermediaries
- decentralized blockchain settlement
The payment gateway monitors the blockchain and confirms settlement once the transaction is included on-chain.
The following diagram illustrates the high-level architecture and trust relationships between the payer, the merchant, the payment gateway, the EUDI identity system, and the blockchain settlement layer.
Identity authentication and transaction consent are handled off-chain through the EUDI Wallet, while the blockchain acts purely as the decentralized settlement layer.
The payment gateway orchestrates the interaction between the parties without holding funds or executing blockchain transactions.
The payer:
- holds an EUDI Wallet
- holds a self-custodial crypto wallet
- possesses identity credentials such as PID
- holds a Proof of Crypto Account Ownership credential
The payer authenticates with the EUDI Wallet and executes the payment using their crypto wallet.
The merchant:
- provides goods or services
- holds a receiving crypto wallet address
- may disclose verifiable credentials proving legal identity
Merchant identity information can be displayed to the payer during the authorization process.
The payment gateway acts as the orchestration and verification layer.
Its responsibilities include:
- generating structured payment requests
- acting as a Relying Party (RP) in OpenID4VP authentication
- verifying identity attestations returned by the EUDI Wallet
- monitoring the blockchain to confirm payment settlement
The gateway does not hold funds and does not execute blockchain transactions.
The blockchain serves purely as the decentralized settlement layer for the payment.
Supported networks may include:
- Ethereum and other EVM chains
- Tezos
- other compatible distributed ledger technologies
Strong Customer Authentication is implemented through a Proof of Crypto Account Ownership credential, issued as a Qualified Electronic Attestation of Attributes (QEAA) by a Qualified Trust Service Provider (QTSP).
This credential proves that the user controls a specific blockchain address without exposing private keys.
During the OpenID4VP authentication flow, the payer presents:
- an identity credential (PID or equivalent)
- the crypto account ownership credential
The EUDI Wallet binds these credentials to the transaction context and returns a verifiable presentation confirming the authorization.
Trust in the system is established through three complementary components:
The EUDI Wallet verifies that the gateway is an authorized relying party within the EUDI trust framework.
The merchant relies on:
- verifiable identity credentials
- proof of crypto account ownership
- user-generated signatures
The blockchain provides a publicly verifiable settlement layer confirming that the payment has been executed.
The architecture aligns with major European regulatory frameworks.
- EUDI Wallet authentication
- Qualified Electronic Attestations of Attributes
- advanced electronic signatures
- compliant merchant acceptance of crypto-assets
- identity-assured crypto payments
- selective disclosure of originator information
- compliance support when required
- privacy-by-design architecture
- no personal data written on-chain
- selective disclosure mechanisms
Although PSD2 does not regulate peer-to-peer crypto transfers, the architecture follows key principles:
- Strong Customer Authentication
- explicit user consent
- dynamic linking of transaction parameters
The architecture may be extended to additional scenarios, including:
- person-to-person crypto payments
- merchant-to-merchant payments
- legal person wallets
- Digital Euro payment integration
Additional blockchain networks and wallet implementations may also be supported.
The full architecture, flow diagrams, and technical examples are described in:
