Content
@
0 reply
0 recast
2 reactions
bankisan
@bankisan
For those using Foundry, what's your local dev deployment like? If there's a script, what exactly are you running in the script for the deployment?
2 replies
1 recast
4 reactions
horsefacts
@horsefacts.eth
Here's our deployment script: https://github.com/farcasterxyz/contracts/blob/main/script/DeployL2.s.sol And the docker-compose that sets up our dev networks and deploys: https://github.com/farcasterxyz/contracts/blob/main/docker-compose.yml
1 reply
0 recast
3 reactions
horsefacts
@horsefacts.eth
The principles I try to follow: - Use the same deployment script in dev and production. - Prefer network forking to stubbing third-party contracts, even in dev. - Test your deploy scripts (see test/Deploy/). - Use immutable, deterministic CREATE2 deployments.
0 reply
0 recast
1 reaction