Skip to content

hmmdeif/homemade-brooches

Repository files navigation

Deif's Homemade Brooches Contracts

Main

Build

forge build

Test

forge test

Deploy

Uses env vars from a file .env. Copy and rename .env.sample and fill in the required variables.

# To load the variables in the .env file
source .env

# To deploy and verify our contract
forge script script/HomemadeBroochNFT.s.sol:DeployBrooches --rpc-url $RPC_URL --broadcast --verify -vvvv --slow --ffi

# To verify
forge script script/HomemadeBroochNFT.s.sol:DeployBrooches --rpc-url $RPC_URL --verify -vvvv --resume

Troubleshooting

Test contracts are too large

You need to update foundry to a later build. This error is suppressed in later versions for test contracts.

Deploy script transaction failures

--slow is necessary to stop all tx being sent and being mined out of order.

Deploy script --ffi checks failed

Ensure you have installed the latest git and foundry versions and have followed the steps outlined by OpenZeppelin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published