Start a patchwork-based project
Install Foundry
Foundry is a smart contract development toolchain. You can install it by following the instructions at Foundry’s installation guide.
Initialize Forge
In the root of a new empty project folder, run:
Install Patchwork Contracts Library
Install OpenZeppelin Contracts
Configure Project Remappings
In project root, create the file remappings.txt
Install PDK
Option 1 - Local project installation (recommended for npm/js projects)
Option 2 - Global binary installation