Quickstart
Already cloned and npm installed? Then it's one command:
npm run wizard
The wizard does everything:
- ✅ Checks prerequisites (Node, Foundry, Git)
- 📦 Auto-clones
Testnet-Contractsfrom GitHub if missing - 🔧 Asks you to pick a framework (Foundry or Hardhat)
- 📦 Asks you to pick a contract source (testnet)
- ⚙️ Prompts for the three EVVM admin addresses (admin, golden fisher, activator)
- 🔨 Compiles the contracts (
forge build --via-ir) - ⛓️ Starts the local chain on port
8545 - 🚀 Deploys all six EVVM contracts plus any services in
services/ - ✏️ Writes the deployed addresses into
packages/nextjs/.env - 🌐 Launches the Next.js frontend at
http://localhost:3000
Keep the terminal open — when you press Ctrl+C everything (anvil, the
frontend, optionally the docs server) stops.
What to do once the frontend is up
Open http://localhost:3000 in any browser. The home page shows the
addresses of every deployed contract.
A typical first run looks like:
- Open MetaMask (or Rabby) and import the test private key (see Local Network below). Do not use WalletConnect for localhost — it doesn't work.
- Visit
/evvm/registerto create your first user balance on EVVM. - Visit
/faucetto mint yourself some MATE so you can pay for things. - Visit
/evvm/paymentsand send your first pay. - Visit
/evvmscanto watch the transaction land in the explorer.
Local Network
Both Anvil and Hardhat Network ship with the same default test account:
| Port | 8545 |
| Chain ID | 31337 |
| Test address | 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 |
| Test private key | 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 |
⚠️ These are publicly known keys baked into Foundry/Hardhat. Never use them on networks with real value.
Hit a wall?
See Troubleshooting — most issues are solved by
npm run cli flush.