Provider Integration Overview
This documentation is for custodians and wallet tech providers.
What You'll Build
As a Provider, you'll implement API endpoints that Narval calls to:
- Authenticate users and establish secure connections with DApps
- Process transaction requests from DApps via Narval
- Consume whitelist evaluation reports for transaction approval decisions
Integration Checklist
- Implement
/auth/grantendpoint - Implement
/auth/continueendpoint - Implement
/token/TOKEN_UUIDendpoint for rotate/revoke - Call
/auth/offerfor Provider-initiated auth flow - Implement
/transactionendpoint - Implement
/transaction/:idstatus endpoint - Call
/evaluateendpoint for Gatekeeper whitelist evaluation - Get the DApp Catalog metadata & display on UI
Key Concepts
Provider - Wallet Provider/Custodian implementing these endpoints
Narval - Integration service provider facilitating DApp interaction
DApp - DeFi Application frontend
Account - A network-specific blockchain account (e.g., wallet address)
Connection - An Access Token with scoped permission on accounts
Architecture Overview
DApp ↔ Narval SDK ↔ Narval API ↔ [Your Provider API] ↔ User ApprovalWhen a user wants to connect their wallet or send a transaction:
- DApp calls Narval SDK
- Narval calls your Provider API endpoints
- You handle user authentication and approval flows
- You respond to Narval with results
- Narval forwards to DApp
Integration Timeline
A typical Provider integration includes:
- Initial setup and endpoint implementation
- Testing with Narval sandbox environment
- Security review and key exchange
- DApp catalog integration (optional)
- Production deployment

