Skip to main content
Version: Canary 🚧

DApp Connector API

DApp Connector API allows decentralized applications (DApps) to request wallet access, verify authorization, and retrieve service URIs for interacting with the Midnight network.

Link to related documentation

To download the component, click the appropriate link under Artifacts.


Release 4.0.0LATEST

28 January 2026

Artifacts

Summary

  • Complete API redesign from interface-based to type-based architecture.
  • Replaced enable()/isEnabled() connection model with network-aware connect(networkId).
  • Removed dependencies on @midnight-ntwrk/wallet-api and @midnight-ntwrk/zswap.
  • Added proving delegation via getProvingProvider() method.
  • Added atomic swap support via makeIntent() method.
  • Added granular balance and address methods replacing single state() method.
  • Added new error codes: PermissionRejected and Disconnected.
  • Changed APIError from class to type for cross-boundary compatibility.
  • Added comprehensive specification documentation.