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.
- Check that your system is among the supported platforms.
- Install the Midnight wallet – alpha version for Testnet:
- Go to the Midnight 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:
- Set up the Midnight wallet by opening the wallet extension and setting up a new wallet address.
- Request and receive tDUST from the Midnight testnet faucet 🚰.
- Download and install Docker Desktop for your Linux, Mac, or Windows device.
- 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 testnet'
- 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
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.