> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

# Compact toolchain

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

The Compact toolchain includes the Compact compiler, formatter, and the Compact "fixup" tool. The compiler translates Compact smart contract code into JavaScript implementations and a representation of the zero-knowledge circuits.

[Link to related documentation](https://docs.midnight.network/compact/compilation-and-tooling/compiler-usage.md)

To install the toolchain, first install the [Compact devtools](https://docs.midnight.network/relnotes/compact-tools.md). Then install the toolchain for the network you deploy to, as listed in the [compatibility matrix](https://docs.midnight.network/relnotes/support-matrix.md):

* **Mainnet, Preview, and Preprod** run ledger 9 and use toolchain 0.36.1. Mainnet moved to ledger 9 in the [ledger 9 network upgrade](https://docs.midnight.network/relnotes/ledger-9.md), Preview relaunched on ledger 9 on 7 November 2026, and Preprod moved to ledger 9 on 9 November 2026. Run `compact update 0.36` to get it.

A bare `compact update` installs the newest release, which can target a ledger version that your network does not run yet.

***

<!-- -->

Version0.36.1

StatusAll

### [Release <!-- -->0.36.1](https://docs.midnight.network/relnotes/compact/toolchain-0.36.1.md)LATEST

#### Compact language <!-- -->0.28.0

11 November 2026

#### Summary

Patch release: fixes key generation for circuits using JubjubScalar or JubjubPoint, and an internal compiler error with deserialized Boolean values

