Skip to main content
Try out the RareSkills ZK AI Tutor!

Blog

The technical content top engineers rely on to level up.

2 min read

Uint256 max value

But it's cleaner and safer to use type(uint256).max. A uintN means there are N bits that represent the number, and when all of them are set to 1, this is…

Last updated onNov 12, 2026
Read Article

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…

Last updated onNov 12, 2026
Read Article

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.

Last updated onNov 12, 2026
Read Article

20 min read

Circom language tutorial with circomlib walkthrough

This tutorial introduces the Circom language and how to use it, along with common pitfalls.

Last updated onNov 12, 2026
Read Article

5 min read

ZK-addition-dapp with Noir and Nextjs

We will demonstrate a step-by-step exploration of a basic zk-dapp designed for verifying additions.

Last updated onNov 12, 2026
Read Article

11 min read

Foundry Unit Tests

This article will describe how to create unit tests in Solidity using Foundry.

Last updated onNov 12, 2026
Read Article

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.

Last updated onNov 12, 2026
Read Article

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.

Last updated onNov 12, 2026
Read Article

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…

Last updated onNov 12, 2026
Read Article

9 min read

How the TWAP Oracle in Uniswap v2 Works

Suppose we have 1 Ether and 2,000 USDC in a pool. This implies that the price of Ether is 2,000 USDC.

Last updated onNov 12, 2026
Read Article

3 min read

Checklist for building a Uniswap V2 clone

It’s very educational to rebuild Uniswap v2 from scratch using modern Solidity (or Huff if you really want to do it in hard mode).

Last updated onNov 12, 2026
Read Article

6 min read

Solidity Coding Standards

The purpose of this article is not to rehash the official Solidity Style Guide, which you should read.

Last updated onNov 12, 2026
Read Article