✍️ Requirements for Windows
WSL2
- Documentation: https://learn.microsoft.com/en-us/windows/wsl/install
- Install by:
wsl --install
- Check your version by:
wsl -l -v
- Check your current directory:
wsl pwd
- Open your default WSL distribution by:
wsl
- Confirm your distribution within WSL by:
lsb_release -a
Docker desktop
- Documentation: https://docs.docker.com/desktop/features/wsl/
- Install the executable by following the docs link
- Open Docker Desktop and make sure the WSL2 support is checked.
Lace Wallet
VS-Code
- Documentation: https://code.visualstudio.com/download
Proof Server
Compiler
- Documentation: https://docs.midnight.network/develop/tutorial/building/
VSCode extension for compact
- Documentation: https://docs.midnight.network/relnotes/vs-code-extension
Enter examples
- Git clone Mesh Midnight repository by:
git clone https://github.com/MeshJS/midnight.git
- Go to midnight examples by:
cd examples/midnight-examples-0.2.0
- NVM Documentation: https://github.com/nvm-sh/nvm#installing-and-updating
- Enable yarn by:
corepack enable
Build & Test Examples
- Install dependencies:
yarn
- Build the repo:
npx turbo build
- Run Counter example as TestNetRemote
- Run Counter example as Standalone
- Run Bboard example as TestNetRemote
- Run Bboard example as Standalone
- Run Bboard UI as TestNetRemote