Solidity 0.6.2 allows the creation of contracts with the create2 opcode via the new keyword and passing a salt in addition to any args. This is adequate for creating standard contracts, but what if I want to deploy minimal proxies as per eip-1167? I can't see a way to pass in the creation bytecode for the proxy, with the template's address included. I know how I can do this with inline assembly, but it would be nice if I didn't have to!

1 Answer 1


Not a proper answer but you should find that openzeppelin-CLI helpfull

npx oz create2 --query --salt 12345 --network development

On top of that, these links:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.