Simple Summary EIP-2535 Diamonds is a standard for creating modular smart contract systems that can be extended in production. Enables people to write …
I have written about the diamond storage pattern for organizing contract state variables in proxy contracts and diamonds. As a quick refresher, a state…
1. A state variable in AppStorage has the wrong value A state variable in AppStorage has the wrong value or the value 0 when it should not. This is cau…
There are a number of ways to share or reuse functions between facets of an Ethereum diamond. The best way I have found is to write internal functions …
EIP-2535 Diamonds specifies the ‘diamondCut’ function which is used to add/replace/remove any number of facets and functions to a diamond in a single t…
Some developers are afraid of ‘delegatecall’ because they have been told it is “dangerous”. Fear and danger come from not understanding how something w…
This is a list of projects using EIP-2535 Diamonds. This list is a work in progress. Send me a tweet on Twitter (@mudgen) if you know of a project not …
Researchers from the University of Ljubljana recently built a smart contract platform for 5G mobile networks. From the paper they published about it: W…
This article is a work in progress. Aavegotchi Coderdannn is co-founder of Aavegotchi. PieDAO ERC-1155 Multi Token Standard The ERC-1155 Multi Token St…
Back in 2018 I was implementing an ERC721 token that could own/possess/control other ERC721 tokens and ERC20 tokens. To do this I was following ERC998 …
Each of the security audits applies to one of these diamond implementations: diamond-1-hardhat (Simple implementation) diamond-2-hardhat (Gas-optimized…