The technical content top engineers rely on to level up.
5 min read
The second preimage attack for Merkle Trees in Solidity The _second preimage attack_ in Merkle trees can happen when an intermediate node in a Merkle tree is presented as a leaf. The name of this...
4 min read
How Chainlink Price Feeds Work Chainlink price oracles are smart contracts with public view functions that return the price of a particular asset denominated in USD. Off-chain nodes collect the...
8 min read
Layer 2 Calldata Gas Optimization Update for mid 2024: As of the Dencun upgrade, calldata optimization doesn't have as much of an impact since the transactions on most L2s are stored on blobs,...
11 min read
DeFi Lending: Liquidations and Collateral In TradFi, when someone defaults on a loan, the creditor has the right to seize assets or garnish wages. In DeFi, when someone defaults on a loan it isn’t...
6 min read
ERC20 Snapshot ERC20 Snapshot solves the problem of double voting. If votes are weighed by the number of tokens someone holds, then a malicious actor can use their tokens to vote, then transfer the...
4 min read
Generate Ethereum Address from Private Key Python Generate Ethereum Address from Public Key An Ethereum address is the last 20 bytes of the keccak256 of the public key. The public key algorithm is...
7 min read
Solidity Gasleft Introduction The purpose of this article is to describe the behavior of the Solidity function and its uses. It is a built-in function that is used to check the remaining gas during a...
12 min read
Ethereum smart contract creation code This article explains what happens at the bytecode level when an Ethereum smart contract is constructed and how the constructor arguments are interpreted. Table...
21 min read
Mastering Solidity: Master the Computer Science Fundamentals First !put in the reps text with a punch bag I hate computer science! I'll spare you the traditional arguments for why you should study...
7 min read
What makes blockchain immutable? Note: This article is intended to be understandable by non-technical readers, to gain a very technical understanding, refer to our blockchain bootcamp after reading...
8 min read
A bootcamp with a job guarantee is a bad idea Because the word "bootcamp" appears on some of our pages, we occasionally get asked if we have a job guarantee. We do not. Here are six reasons why we...
1 min read
Foundry forge coverage Visual line coverage report with LCOV !forge coverage lcov report If you run "forge coverage" in a Foundry project, you'll get a table showing how much of your lines and...