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