Skip to main content
For the complete documentation index, see llms.txt

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.1.0LATEST

5 November 2026

Artifacts

Summary

Minor release: new @midnightntwrk npm scope, ECDSA signatures in signData, the InsufficientFunds error code, and type resolution fixes

  • Published under the @midnightntwrk npm scope. The legacy @midnight-ntwrk scope is mirrored as a transitional alias.
  • Added an optional scheme field (ecdsa_secp256k1_sha256 or schnorr_bip340) to the signData Signature type. It defaults to schnorr_bip340.
  • Added ErrorCodes.InsufficientFunds for well-formed requests the wallet cannot fund.
  • Added the ./globals export path and typed globalThis.midnight.
  • Fixed the types entry point and NodeNext type resolution.