| title | Installation & Setup |
|---|---|
| sidebarTitle | Setup |
| description | Install Lace wallet, Compact compiler, and Docker proof server for Midnight development. |
| og:title | Compact Installation Guide |
| og:description | Install tools for Compact development on Midnight Network |
| twitter:card | summary_large_image |
| twitter:title | Compact Installation Guide |
| twitter:description | Install tools for Compact development on Midnight Network |
Lace Midnight Preview wallet is a browser extension wallet for the Midnight network. It is currently only compatible with Google Chrome.
-
Open the Google Chrome browser - Launch Chrome on your computer.
-
Install the Lace wallet extension - Visit the Chrome Web Store: Lace Beta Extension
-
Add to Chrome - Click Add to Chrome and confirm by clicking Add extension.
-
Pin the extension - Pin the extension to your toolbar for easy access (recommended).
- Open Lace wallet and select Create a new wallet.
- Set a password.
- Save your seed phrase securely (never store digitally).
- Confirm seed phrase.
- Copy your wallet address from Lace.
- Visit https://midnight.network/test-faucet/
- Paste address and click Request tDUST.
- Wait for tokens to arrive.
The Compact developer CLI (compact) manages compiler versions, formatting, and project tooling. Install the latest release:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/midnightntwrk/compact/releases/latest/download/compact-installer.sh | shThe installer adds compact to $HOME/.compact/bin and updates your shell rc file (~/.bashrc or ~/.zshrc).
Open a new terminal, or source your shell rc file:
# Bash
source ~/.bashrc
# Zsh
source ~/.zshrcThe CLI is a manager; you still need to install a Compact compiler:
compact self update # ensure CLI is on the latest version
compact update # download the latest compiler
compact --version # prints the CLI version
compact compile --version # prints the compiler version (e.g. 0.31.0)Download Docker for your operating system:
Download Docker Desktop for Mac (Intel or Apple Silicon){" "}
<Card title="Windows" icon="windows" href="https://docs.docker.com/desktop/install/windows-install/"
Download Docker Desktop for Windows (requires WSL2)
<Card title="Linux" icon="linux" href="https://docs.docker.com/desktop/install/linux-install/"
Download Docker Desktop for Linux (Ubuntu, Debian, Fedora)
Verify Docker:
docker --versionPin a specific image tag so behavior is reproducible. Check the proof-server releases for the current tag, then run:
docker run -p 6300:6300 midnightnetwork/proof-server:latest -- 'midnight-proof-server --network testnet'Keep this terminal open when developing. The proof server listens on localhost:6300.
Download the VSIX from releases page.
Install in VS Code: Extensions → ... → Install from VSIX
{" "}
Create a simple counter application with validation{" "}
Learn about Compact's type system Explore the official Midnight documentation