Browse all Smart Contract Security articles.
7 min read
How Compound V3 Allocates COMP Rewards Compound issues rewards in COMP tokens to lenders and borrowers in proportion to their share of a market’s lending and borrowing. The algorithm is extremely...
11 min read
The Architecture of the Compound V3 Smart Contract Introduction and prerequisites Compound is one of the most significant lending protocols in DeFi, having inspired the design of nearly every lending...
6 min read
Three ways to detect if an address is a smart contract This article describes three methods in Solidity for determining if an address is a smart contract: Check if . This is not a recommended method,...
8 min read
ERC-1363 Standard Explained ERC-1363 enables a smart contract to detect and respond to an incoming transfer of tokens. !Cover Image for ERC-1363 Standard Explained article by RareSkills What problem...
14 min read
Creating Raw Ethereum Interactions in Go: Blob Transactions, Tracing Transactions, and Others. The ethclient package from Go-Ethereum (Geth) provides an API wrapper for JSON-RPC requests to the...
5 min read
Understanding the Function Selector in Solidity The function selector is a 4-byte id that Solidity uses to identify functions under the hood. The function selector is how a Solidity contract knows...
30 min read
How Tornado Cash Works (Line by Line for Devs) !tornado cash tutorial by rareskills Introduction to Tornado Cash Tornado Cash is a cryptocurrency smart contract mixer that enables users to deposit...
4 min read
Low Level Call vs High Level Call in Solidity A contract in Solidity can call other contracts via two methods: through the contract interface, which is considered a high-level call, or by using the...
10 min read
Viem React Js Example: Transfer, Mint, and View Blockchain State In this tutorial, we’ll build a fully functional Dapp with the Viem typescript library + React (Next.js). We’ll cover the necessary...
5 min read
Wagmi + ReactJS Example: Transfer Crypto and Mint an NFT In this tutorial, we'll learn how to build a Web3 Dapp (Decentralized Application) that connects to your crypto wallet, allowing you to...
10 min read
Web3.js Example. Latest version 4.x. Transfer, Mint and Query the Blockchain The newest version of web3.js, 4.x, has just been unveiled. In this guide, we’ll delve into integrating web3.js into HTML...
9 min read
Uniswap v2 router code walkthrough The Router contracts provide a user-facing smart contract for safely minting and burning LP tokens (adding and removing liquidity) safely swapping pair tokens They...