TLDR Crypto · MISCELLANEOUS
A CRITIQUE ON THE MEGAETH MINTING CONTRACT
Summary from the TLDR Crypto newsletter
The MegaETH contract is generally efficient, using custom errors, constants, immutables, and Merkle proofs for fair and optimized minting. However it has several inefficiencies, like inefficient ETH transfers and redundant storage updates. While the contract works, this post argues that a 10K ETH raise should use Solady, to follow better gas-saving practices, among other reasons.