Open Zeppelin Upgradeable Contracts
Smart Contract Programmer
This video walks throught an simple example of transparent upgradeable contract using HardHat, ethers.js and Open Zeppelin.
0:00 - Overview 1:44 - Project setup 4:28 - Deploy Box V1 script 7:10 - Execute deploy script 8:29 - Verify Box V1 on Etherscan 9:48 - Setup proxy / implementation on Etherscan 10:47 - Upgrade Box V2 script 11:49 - Execute upgrade script 13:21 - Upgrade demo - call inc()
#Solidity #SmartContract #Ethereum #スマートコントラクト#Upgradeable
Code https://github.com/t4sk/hello-oz-upgradeable
References https://www.youtube.com/watch?v=kWUDTZhxKZI https://www.youtube.com/watch?v=bdXJmWajZRY https://docs.openzeppelin.com/openzeppelin/upgrades https://forum.openzeppelin.com/t/beware-of-the-proxy-learn-how-to-exploit-function-clashing/1070
Take a course https://www.smartcontract.engineer/
Follow https://twitter.com/ProgrammerSmart https://discord.gg/bt8FK2wkcW https://t.me/smartcontractprogrammer https://smartcontractprogrammer.com ... https://www.youtube.com/watch?v=JgSj7IiE4jA
28708535 Bytes