Skip to main content

Quick start

This quick start guide helps you jumpstart your developer experience with Midnight. If you're well versed in zero-knowledge (ZK) technologies and Web3 development, follow the steps below.

For detailed explanations of each step, refer to the Midnight developer tutorial.

note

The Midnight wallet has only been tested with the Google Chrome browser. We recommend using Chrome for the best experience.

  1. You must be running macOS, Linux, or Windows Subsystem for Linux (WSL); see the supported platforms details.
  2. Install Midnight Lace:
    • Go to the Midnight Lace releases page.
    • Select the required version according to the release compatibility matrix.
    • Download and unzip the required version.
    • In the Google Chrome browser, go to Settings > Extensions.
    • Enter developer mode by enabling the Developer mode toggle on the top right corner of the extensions page.
    • Click the Load unpacked button and select the unzip folder for the Midnight Lace wallet:

load unpacked

  1. Set up the Midnight Lace by opening the wallet extension and setting up a new wallet address.
  2. Request and receive tDUST from the Midnight testnet faucet 🚰.
  3. Download and install Docker Desktop for your Linux, Mac, or Windows device.
  4. Install and run the proof server:
  • On your terminal or PowerShell, download the Docker image for the Midnight proof server by running the following command:
docker pull midnightnetwork/proof-server:<VERSION>

Replace <VERSION> with the required version of the proof server according to the release compatibility matrix.

  • Run the proof server with the following command:
docker run -p 6300:6300 midnightnetwork/proof-server -- 'midnight-proof-server --network testnet'
  1. Test your setup by sending some tDUST to a friend:
  • Copy your friend's receive wallet address (your friend can get it by clicking the receive button, see image below). Alternatively, copy Carl's address below, and send exactly 1.0 tDUST.
6e20afe9898f5b963cfe1372378880f6a4aa36748f7969ef69192ba0c60cf329|0300f3fe71b72710525c847f37d85453061e5accdddca2922a609730e6b02dd8cf30a2f851aa817dcd65a8286d32fed22617c647af2e1dfbce98

you&#39;re all set

Now you're all set to proceed!

In Part 1 of this developer tutorial, you'll discover detailed explanations for each step above. Please refer to them if you encounter any issues along the way.

To launch your first DApp, see Part 2: building a DApp.