Documentation Index
Fetch the complete documentation index at: https://docs.patchwork.dev/llms.txt
Use this file to discover all available pages before exploring further.
There are 5 services that comprise create-patchwork applications:
- Ponder (event indexing, API)
- Postgres (event persistence)
- Anvil
- www (React frontend)
- Dozzle (container logs)
If you have Docker installed, the easiest way to run these all is using the pnpm pnpm pdk localDev command:
This command will start all containers, deploy contracts to your preferred network (automatically if you are using Anvil), configure environment variables, and rerun any generators that need it because of downstream changes.
To stop development, do:
If you’d like to switch networks, you can run:
pnpm pdk network switch <network>
You can see a list of supported networks by running:
You can also manually rerun any generator by running them with pnpm pdk.
From your created project root, run pnpm pdk to see a list of all available commands.