Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
Post image 6
Post image 7
Post image 8
Post image 9
Post image 10
Post image 11
Post image 12
Post image 13
Post image 14
1 / 14
0

Setting up Midnight on Windows via WSL2: The Complete Guide

DEV Community·Uroy Nwankwo·24 days ago
#fPicl5IZ
#tutorial#web3#linux#fullscreen#enter#exit
Reading 0:00
15s threshold

Midnight's toolchain runs natively on UNIX systems, Linux and macOS. If you're on Windows, you will need the Windows Subsystem for Linux 2 (WSL2). This tutorial takes you from a fresh Windows machine to a working Midnight dev environment. Target audience: Windows developers who want to build on the Midnight network. Prerequisites: Windows 10 (version 2004+) or Windows 11 Administrator access stable internet connection. What you'll have by the end : A winodws machine setup with a complete development environment for building on the midnight network. You will set up WSL2, configure Docker Desktop, allocate enough memory for the proof server, install the Compact compiler, and verify everything by deploying the Hello World contract. It also shows which Windows approaches fail, so you can skip the dead ends. What does not work on Windows You cannot run the Midnight toolchain natively on Windows. The following approaches all fail: PowerShell / Command Prompt : the Compact installer script is a POSIX shell script.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More