What’s included?

Our primary entrypoint is our create-patchwork CLI tool, which takes care of initializing your new project. It includes the following services and sets up PDK for code generation:

Services

  • Ponder for offchain event indexing, with built-in tRPC API
  • Vite+React frontend with TailwindCSS and Rainbowkit
  • Docker configuration for service orchestration
  • Dozzle for monitoring Docker
  • Anvil integration for convenient local testing
  • Postgres for event persistence

Code generators

  • Smart contract code
  • Contract create2 deploy scripts
  • Ponder configurations (dotenv, database schemas, event handlers)
  • tRPC API
  • React hooks (tRPC query hooks, Wagmi hooks)

Quickstart

Use create-patchwork to get started in under a minute