Skip to main content

DApp Connector API

DApp Connector API는 탈중앙화 애플리케이션(DApp)에서 지갑 접근 요청, 인가 확인, Midnight 네트워크 연동에 필요한 서비스 URI 조회 기능을 제공합니다.

관련 문서 링크

컴포넌트를 다운로드하려면 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.