Browse all Smart Contract Security articles.
11 min read
Foundry Unit Tests This article will describe how to create unit tests in Solidity using Foundry. We will cover how to test all the state transitions that can occur in a smart contract, plus some...
4 min read
Smart contract creation cost Smart contract creation cost can be anywhere from \$10 to \$2,000 assuming ETH costs between \$1,500 to \$2,000. The biggest factors are 1) Ethereum price, 2) the size of...
13 min read
Flash Loans and how to hack them: a walk through of ERC 3156 Flash loans are loans between smart contracts that must be repaid in the same transaction. This article describes the ERC 3156 flash loan...
8 min read
Uniswap V2 Mint and Burn Functions Explained The lifecycle of Uniswap V2 is someone mints LP tokens (supplies liquidity, i.e. tokens to the pool) for the first time, then a second depositor mints...
6 min read
Solidity Coding Standards The purpose of this article is not to rehash the official Solidity Style Guide, which you should read. Rather, it is to document the common deviations from the style guide...
10 min read
Solidity RSA signatures for airdrops and presales: Beating ECDSA and Merkle Trees in Gas Efficiency Updated: Aug 4, 2023 By Suthan Somadeva and Michael Burke ECDSA Vs RSA Introduction Creating a...
7 min read
Solana Smart Contract Programming Language !Rust code from the Metaplex library Solana programming language The primary Solana programming language is Rust, but C, C++, and even Python are supported....
24 min read
The Solidity Engineer Salary is a Myth !Stack of gold bars owned by a blockchain engineer Is gold in your future if you study blockchain? There is no shortcut to a high solidity developer salary This...
8 min read
Where to find solidity reentrancy attacks Reentrancy can only happen when your smart contract calls another smart contract via function call or sending ether. If you do not call another contract or...
6 min read
Generate a random number with Solidity on the blockchain !Random Number Solidity Random Number Randomness is tricky on the blockchain because the blockchain is deterministic, but randomness requires...
7 min read
Solidity vs Rust A common misconception is that learning blockchain is about learning a new programming language. It isn't. Learning blockchain is far more akin to learning a framework than a...
7 min read
The blockchain shortage of developers is not real. !Typewriter close up Photo by markuswinkler (https://unsplash.com/@markuswinkler) It’s hard to read news about developers and not get the impression...