Content
@
https://opensea.io/collection/evm-6
0 reply
0 recast
2 reactions
Spencer Graham 🧢
@spengrah.eth
Is anybody aware of an existing generic create2 factory that serves as the create2 msg.sender? I believe that would allow for deployment to deterministic address agnostic of who is actually initiating the deploy, which would be quite nice for enabling a team to deploy as needed across networks.
4 replies
0 recast
2 reactions
Spencer Graham 🧢
@spengrah.eth
alternatively, whats the best way to share a deployer account within a dev team?
0 reply
0 recast
0 reaction
✳️ dcposch
@dcposch.eth
Arachnid/0age factory is the default in Foundry All u need is a deploy script with vm.broadcast(); new MyContract{salt: 0}(); Works on all major evm chains
1 reply
0 recast
2 reactions
horsefacts
@horsefacts.eth
@nick.eth's deterministic deployment proxy (the forge script default) and @0age's ImmutableCreate2Factory (my personal preference) both work like this: the factory contract is the CREATE2 sender, not the deployer EOA address. They're useful for exactly the reason you describe.
1 reply
0 recast
2 reactions
0xdapper
@0xdapper
Arachnid's factory?
0 reply
0 recast
0 reaction