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

Midnight.js

Midnight.js is a client library designed to facilitate the development of decentralized applications on the Midnight blockchain.

Link to related documentation

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


Release 5.0.3LATEST

2026-11-24

Artifacts

Summary

Patch release for the ledger 9 stack: the proof provider also retries 429 responses, honors Retry-After, and refuses redirects, and a scoped call segment collision is fixed.

  • The HTTP proof provider also retries 429 responses, honors Retry-After, and refuses proof server redirects; a redirect now fails with ProofServerError
  • Scoped contract calls move colliding segment identifiers before merging
  • Contract calls refuse an unknown ledger era instead of treating it as the current era
  • The repository end-to-end test stacks move to node 2.1.101 and indexer 4.4.101
  • Dependency refresh; the ledger 9 pins stay at the 5.0.1 set (ledger-v9 1.0.2, onchain-runtime-v4 4.0.2, Compact.js 3.0.2, proof server 9.0.2)
  • No API change, no recompile, and no contract changes; set the final proof server URL if yours redirects