B · Launching Effectstream + Local Dev
Get the template
Our starting point is evm-midnight-v2 — a working EVM + Midnight app that ships
inside the Effectstream monorepo. One clone, one install, and you have the whole thing.
▼ details below
1Clone and install
git clone https://github.com/effectstream/effectstream.git
cd effectstream/templates/evm-midnight-v2
bun install
verify (~30 s, ~1.8 GB of node_modules)
$ bun install + 1000s of packages, no errors
What you just got
Every template in templates/ is an independent Bun workspace: its dependencies are
the published @effectstream/* packages from npm, not the surrounding monorepo
source. That means you can copy this folder anywhere and it still works — the monorepo around it is
just a convenient delivery vehicle (and, later, a source of other templates to raid).
| Folder | What's inside |
|---|---|
packages/node/ | the sync node: config, grammar, state machine, API |
packages/database/ | migrations + typed SQL queries |
packages/batcher/ | the gasless input batcher |
packages/contracts-evm/ · contracts-midnight/ | the on-chain contracts (Solidity · Compact) |
packages/frontend/ | the template's demo React frontend (we'll build our own page instead) |
Checkpoint
bun install finished cleanly inside templates/evm-midnight-v2.
Next: First launch — do it before the live session, it downloads
the Midnight chain binaries.