mental-models
Here comes Decipher EVM Puzzles game for all Smart Contract Devs
Featured in Week In Ethereum News [ Start Playing ] 🤾🏻♂️ * Go to Decipher EVM Puzzles github repo * Check the Installation and set-up steps * Start Playing It has been quite evident in the web3 developer space that solving puzzles, CTF challenges, games, etc are one of the most effective ways to grasp any
EVM Part II: The Journey of Smart Contracts from Solidity Code to Bytecode - 2nd Section
EVM Part II: The Journey of Smart Contracts from Solidity code to Bytecode - 1st Section
How to clear storage and get incentivized by Ethereum Blockchain ?
Do you know EVM has the functionality of rewarding users with a gas refund for clearing the on-chain storage occupied by the contract data? Let’s learn more about this. There have been some changes after the London fork. But to understand it better we will look at the scenario
EVM Part I: The ABCs of Ethereum Virtual Machine
Table of Contents 1. EVM in 100 words 2. EVM as a Virtual Machine 3. EVM as a State Machine 4. EVM as a Quasi-Turing Complete Machine 5. Ethereum's crucial components 6. EVM's crucial components 7. EVM Working Mechanisms 8. Summary EVM in 100 words The
Another Re-entrancy Attack - What's stopping us from being a better Smart Contract developer?
Table of Contents Why do we witness Well-known attacks in Web3? Reason no-1 Smart Contract Security - Significance & Tools Reason no-2 Mistakes & Learnings every Smart Contract devs should experience It's been 6 years, 3months, and 25 days since the infamous DAO hack that shook the entire
Part III: Custom Errors in solidity are more useful than you think
Part II: Replace modifiers with private functions and reduce your contract's size
Part IV: Using libraries to optimize contract size
The topic of discussion in this article series has been the ways a smart contract developer can optimize the contract’s bytecode size & never hit the threshold of 24.576 kb. So here is another crucial development pattern you can use to lower the bytecode size of your contract.
Part I: Beware Solidity Devs, you might just hit your contract size limit
It's quite imperative for you as a Smart Contract Developer to always be within the pre-defined Smart Contract Bytecode size limit. Wait, What is Bytecode? 🤔 In very simpler terms, Humans understand Solidity, but EVM understands Bytecode. Bytecode is the low-level language that our solidity smart contracts (a high-level
Does Etherscan display the Creation Code or Runtime Code of a Contract?
This is gonna be a quick short post on some findings regarding how etherscan displays the bytecode of a deployed and verified smart contract. After we deploy a contract on the ethereum blockchain, we know for a fact that the creation code(init code) is executed and it returns the