Skip to main content

Onchain Runtime

Onchain Runtime is a component of the Midnight infrastructure that enables zero-knowledge proof generation, transaction verification, and privacy-preserving transaction processing.

Link to related documentation

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


Release 4.0.0LATEST

12 May 2025

Artifacts

Summary

  • Integrated with the new storage model, making required objects Storable to allow storing MPT leafs as Sps.
  • Added segment IDs to Zswap constructors. These should be set to 1 for fallible offers, and 0 for guaranteed offers.
  • Renamed ZswapLocalStateNoKeys to ZswapLocalState, removing the existing (with keys) state.
  • Switch from Pluto-Eris to BLS12-381.
  • Switched to using data providers instead of direct prover keys and parameters.
  • Add a data provider to fetch key material for Midnight. The source of this may be overridden with the MIDNIGHT_PARAM_SOURCE environment variable.