Skip to main content

Compact compiler

Compact is Midnight's dedicated smart contract programming language, designed for building secure, efficient, and adaptable decentralized applications.

Compact compiler translates Compact smart contract code into executable bytecode and proof-generating circuits.

Link to related documentation

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


Release 0.26.0LATEST

Compact language 0.18.0

08 October 2025

Artifacts

Summary

  • Compact compiler renamed from Compact to Minokawa version 0.26.0 and language version 0.18.0.
  • Compact compiler moved to LFDT for open source governance.
  • Compact compiler adds Bytes values that are indexable and iterable like vectors.
  • Compact compiler supports hexadecimal octal and binary numeric literals and spread in tuples and bytes.