How to Write Upgradable Smart Contracts (Smart Contract Versioning)

In this post, we will understand how upgradeable smart contracts work. We will also go through practical examples using OpenZeppelin Upgrades CLI & Libraries.

vasa
The Startup

--

Receive curated Web 3.0 content like this with a summary every day via WhatsApp, Telegram, Discord, or Email.

Smart contracts are immutable, by design. On the other hand, software quality heavily depends on the ability to upgrade and patch source code to produce iterative releases. Even though blockchain-based software profits significantly from the technology’s immutability, still a certain degree of mutability is needed for bug fixing and potential product improvements.

--

--

vasa
The Startup

Entrepreneur | Co-founder, TowardsBlockChain, an MIT CIC incubated startup | SimpleAsWater, YC 19 | Speaker | https://vaibhavsaini.com