Ethereum Asked by Nick Furfaro on November 10, 2021
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!
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:
Answered by onepix on November 10, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP