I see this was deprecated import "@openzeppelin/upgrades/contracts/upgradeability/ProxyFactory.sol";
, where do a I find the new contracts to use deployMinimal()
Hi @surfer77,
Have a look at the Clones
library for deploying minimal proxies in Release Candidate for Contracts 3.4.
OpenZeppelin Contracts 3.4 release is expected a week or so after the release candidate.
Thank you, I am using the Clones library.
Is there a way to update the address of the logic contract in a clone already deployed? to make the clones upgradable.
Hi @surfer77,
We can’t change a minimal proxy once it is deployed.
For more information on Minimal Proxies I suggest reading the following:
Hi @abcoathup yes you are right we cannot update the minimal proxy after deployment caz it hardcoded the impl contract address..
But what if we use a Beacon contract between of minimal proxy and impl. contract? We can hardcode the Beacon address to minimal proxy and Beacon can contain the impl address for upgrades.
what do u think, Is this approach a good practice?