Hardhat project for building smart contracts. The deploy script uses CREATE2 to easily mine a vanity address.
From the parent monorepo directory, install dependencies.
pnpm install
Navigate to the contracts directory and create a .env
file. You don't have to change any of the values for testing purposes.
cd apps/contracts
cp .env.example .env
Compile contracts and run the tests.
pnpm test