The technical content top engineers rely on to level up.
5 min read
EIP-150 and the 63/64 Rule for Gas Introduction EIP-150, or Ethereum Improvement Proposal 150, is a protocol upgrade for the Ethereum blockchain. It was proposed on March 18, 2016, and implemented on...
6 min read
ERC20 Votes: ERC5805 and ERC6372 !ERC20 Votes ERC20 Votes Knowledge of ERC20 Snapshot is assumed, please refer to our article on ERC20 Snapshot for an introduction to the subject. ERC20 Votes does...
11 min read
Solidity Events Solidity events are the closest thing to a or statement in Ethereum. We will explain how they work, best practices for events, and go into a lot of technical details often omitted in...
8 min read
Governance Contract in Solidity The pattern of governance many DeFi applications follows is heavily inspired by Compound Finance’s implementation. Although, there isn’t an Ethereum Improvement...
8 min read
EIP-3448 MetaProxy Standard: Minimal Proxy with support for immutable metadata The minimal proxy standard allows us to parameterize the creation of the clone, but this requires an extra...
1 min read
Verify Signature Solidity in Foundry Here is a minimal (copy and paste) example of how to safely create and verify ECDSA signatures with OpenZeppelin in the Foundry environment. Contract:...
7 min read
EIP-2930 - Ethereum access list Introduction An Ethereum access list transaction enables saving gas on cross-contract calls by declaring in advance which contract and storage slots will be accessed....
2 min read
Uint256 max value The uint256 max value can be obtained with which is or 2²⁵⁶-1. But it's cleaner and safer to use . The same can be used for signed integer types The math behind maximum values in...
3 min read
Solidity test internal function To test an internal Solidity function, create a child contract that inherits from the contract being tested, wrap the parent contract’s internal function with an...
4 min read
Convert gas to USD (Ethereum) Understanding gas cost can be tricky because there are three components at play: the gas price, the price of ether, and the units of gas. The "gas price" that you might...
20 min read
Circom language tutorial with circomlib walkthrough This tutorial introduces the Circom language and how to use it, along with common pitfalls. We will also explain a significant portion of the...
5 min read
ZK-addition-dapp with Noir and Nextjs !ZK Dapp Game built with Noir and Next.js We will demonstrate a step-by-step exploration of a basic zk-dapp designed for verifying additions. This application...