devnads / setup

Developer setup

Get your machine ready for Monad.

Scaffold-ETH 2 (Foundry) workshops, pre-wired for Monad Testnet. Pick your OS and run the one-liner. Under 10 minutes on a decent connection.

powershell
irm https://raw.githubusercontent.com/portdeveloper/se2-workshop-windows-setup/main/windows-bootstrap.ps1 | iex

Step 1, in Administrator PowerShell. Installs WSL2 + Ubuntu, then prompts to reboot.

bash
curl -fsSL https://raw.githubusercontent.com/portdeveloper/se2-workshop-windows-setup/main/wsl-bootstrap.sh | bash

Step 2, inside Ubuntu after reboot. Installs the toolchain, asks for your git identity, and scaffolds the dapp.

Prefer step-by-step

See the manual install for Windows.

After the install finishes

Run these to start developing.

Open three terminals from inside your project directory. The first spins up a local Anvil node, the second deploys your contracts to it, the third serves the dapp.

bash
cd ~/my-monad-dapp
yarn chain      # terminal 1 (local Anvil)
yarn deploy     # terminal 2
yarn start      # terminal 3 (http://localhost:3000)

To deploy to Monad Testnet later: gh auth login, yarn deploy --network monadTestnet.

Troubleshooting

When things go sideways.

Still stuck

Paste this page's URL into your AI coding agent (Claude, Cursor, ChatGPT) and ask. The model has every command and troubleshooting note in plain markup. Or DM @portdev on Telegram.

DM @portdev