Skip to main content

Install the Lace Midnight Preview wallet

1. Download and install the Lace wallet extension

Lace Midnight Preview wallet is a browser extension wallet for the Midnight network. It is currently only compatible with Google Chrome.
  1. Open the Google Chrome browser - Launch Chrome on your computer.
  2. Install the Lace wallet extension - Visit the Chrome Web Store: Lace Beta Extension
  3. Add to Chrome - Click Add to Chrome and confirm by clicking Add extension.
  4. Pin the extension - Pin the extension to your toolbar for easy access (recommended).
Verification: The Lace wallet icon appears in your Chrome toolbar.

2. Create your wallet

  1. Open Lace wallet and select Create a new wallet.
  2. Set a password.
  3. Save your seed phrase securely (never store digitally).
  4. Confirm seed phrase.

3. Get test tokens (tDUST)

  1. Copy your wallet address from Lace.
  2. Visit https://midnight.network/test-faucet/
  3. Paste address and click Request tDUST.
  4. Wait for tokens to arrive.

Install Compact

4. Install Compact using the installer script

Use the following command to install the pre-built binaries:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/midnightntwrk/compact/releases/download/compact-v0.2.0/compact-installer.sh | sh

5. Update your shell PATH

Add Compact to your PATH:
# Bash/Zsh
export PATH="$HOME/.compact/bin:$PATH"
source ~/.bashrc  # or ~/.zshrc

6. Verify installation

compact --version

Set up the proof server

7. Install Docker Desktop

Download Docker for your operating system: Verify Docker:
docker --version

8. Run the proof server

docker run -p 6300:6300 midnightnetwork/proof-server -- 'midnight-proof-server --network testnet'
Keep this terminal open when developing.

Install Compact VS Code extension

Download the VSIX from releases page. Install in VS Code: Extensions...Install from VSIX

Next steps