
Web3 Innovators #109 - Chainlens Spaces: Proxy Contracts on Ethereum
Sep 30, 2024
Join Andrii Kliui, a Senior Blockchain Developer at Web3 Labs, as he dives into the fascinating world of proxy contracts on Ethereum. He outlines how these contracts allow for upgrades without losing state, enhancing flexibility for developers. Andrii also highlights the advantages of gas efficiency and modularity. Discover the nuances of various proxy standards, like ERC 1967 and the diamond standard (ERC 2535), and learn how Chainlens assists users in navigating unverified proxy contracts. A must-listen for anyone curious about the future of smart contracts!
AI Snips
Chapters
Transcript
Episode notes
Proxy Contracts Separate Logic From State
- Proxy contracts delegate most function calls to a separate implementation contract to separate logic from state.
- This structure enables upgrades and keeps a minimal proxy layer between users and implementation.
Plan For Upgrades From Day One
- Use proxy contracts when you expect to fix bugs or add features after deployment so users keep the same contract address.
- Separate state and logic deliberately to enable upgrades without losing state.
Proxies Can Cut Deployment Costs
- Proxies can reduce gas costs by splitting implementation into parts and only redeploying changing logic.
- Developers save on deployment by keeping immutable pieces separate from upgradable logic.
