clones-with-immutable-args icon indicating copy to clipboard operation
clones-with-immutable-args copied to clipboard

create2 option

Open z0r0z opened this issue 3 years ago • 2 comments

add create2 optionality w/ salt

z0r0z avatar May 01 '22 09:05 z0r0z

I don't think the is_zero check on salt is the right way to do this. I currently use create2 with empty salts for almost all of my deploys. I do this because I care about easily recreating the same address and not because I want a vanity address. I could change all my code to use a salt of "1" or something as default, but I think two separate functions would be better

BlinkyStitt avatar May 14 '22 17:05 BlinkyStitt

@wighawag @ZeframLou any chance of getting this merged? Interested in using this and deterministic address would-be killer.

Also, I've been talking to people at Etherscan and they added minor support for detecting these types of clones already. Ideally, we'd get something similar to how EIP-1167 gets code verified automatically for all clones.

strollinghome avatar Jun 09 '22 15:06 strollinghome

Thanks @z0r0z for the PR and sorry for not looking at it all this time. A new Pr that implement create2 has been merged : https://github.com/wighawag/clones-with-immutable-args/pull/19

wighawag avatar Jan 17 '24 14:01 wighawag