Skip to main content
Version: v1

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 3.0.0LATEST

17 December 2025

Artifacts

Summary

  • Configurable password provider for encrypted storage
  • Async transaction handling
  • AES-256-GCM storage encryption
  • BalancedProvingRecipe types (3 discriminated types)
  • Compact compiler 0.27.0 with .js output
  • Fixed ESM/CJS dual package support
  • Unshielded token support (NIGHT)
  • High-level transaction functions (submitDeployTx, submitCallTx)
  • Transaction TTL configuration
  • Changed from enum to string literal
  • submitTx now returns Promise<TransactionId>