Browse all Smart Contract Security articles.
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...
6 min read
EIP-1167: Minimal Proxy Standard with Initialization (Clone pattern) !clones Image from https://pixabay.com/photos/stormtrooper-star-wars-lego-storm-2899993/ Introduction EIP-1167, which is also...
12 min read
ERC4626 Interface Explained ERC4626 is a tokenized vault standard that uses ERC20 tokens to represent shares of some other asset. How it works is you deposit one ERC20 token (token A) into the...
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...
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....
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...
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...