Skip to main content

Midnight 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 this Midnight developer tutorial.

  1. Check that your system is among the supported platforms.
  2. Install the Midnight wallet – alpha version for devnet:
  • Go to the Midnight devnet releases page.
  • Select 'wallet'. Download and unzip the latest version.
  • In the Google Chrome browser, go to 'Settings', then 'Extensions'.
  • Enter developer mode by enabling the 'Developer mode' toggle on the top right corner of the extensions page.
caution

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

  • Click the ‘Load unpacked’ button and select the unzip folder for the Midnight Lace wallet:

load unpacked

  1. Set up the Midnight wallet by opening the wallet extension and setting up a new wallet address.
  2. Request and receive tDUST from the Midnight devnet 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:latest
  • Run the proof server with the following command:
docker run -p 6300:6300 midnightnetwork/proof-server -- 'midnight-proof-server --network devnet'
  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.
5830871f02cf893499d31cd5bbed19b7bb186eb1bdd46fbbe828d3963c1e0b6a|010001fdb25e90c39e90ee37b59d41ef4e10c639105e8991557589baedc6a69f7d392c

you'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.