Prerequisites
Before setting up the project, ensure you have the following installed:
| Requirement | Version | Notes |
|---|---|---|
| Compact toolchain | 0.5.1 | Includes the compact CLI for compiling Compact contracts |
| Compact compiler | >= 0.30.0 | Must be installed as part of the Compact toolchain |
| Bun | >= 1.3.10 | JavaScript runtime and package manager used throughout the project |
| Docker | Latest stable version | Required by the standalone local environment |
| Node.js | >= 18 | Used alongside Bun for some CLI tooling |
Install Bun here
Install the Compact toolchain by following the official Midnight documentation for your platform.
Last updated on