Skip to main content
Our PDK generators will accept a Patchwork project configuration file as input and will generate the same name solidity contract as output in the current working directory. Here’s an example Patchwork project configuration:
patchwork.config.ts
From this file, we can generate Solidity boilerplate, indexer schemas, React hooks and more.

Project configuration

Contract configuration

Contract fields

Contract field types

Contract features