Blog
The technical content top engineers rely on to level up.
13 min read
How Metaplex Metadata for Tokens Works
We have deployed and interacted with SPL tokens, but none of them had a name, symbol, or any metadata attached.
7 min read
Basic Bank Tutorial with SPL Tokens and Anchor
In this tutorial, we’ll build a simple bank program on Solana with the basic features you'd expect from a regular bank.
10 min read
Token Sale with Total Supply Tutorial
A token sale program is a smart contract that sells a specific token, usually in exchange for a native token like SOL, at a fixed price.
15 min read
Transferring SPL Tokens with Anchor and Web3.js
In the previous tutorial, we learned how SPL tokens work. In this tutorial, we’ll implement a full SPL token lifecycle: create, mint, transfer, and query…
18 min read
SPL Token Explained: How Tokens Work on Solana
SPL Token is Solana's answer to ERC-20 and ERC-721. Learn how one program serves every token and how mint, token, and associated token accounts work.
7 min read
Calculating the real reserves between two prices in the Uniswap V3 codebase
In previous chapters, we derived formulas to calculate the real reserves of tokens X and Y between two prices in a segment.
14 min read
The Fundamental Theorem of Finite Cyclic Groups
The Fundamental Theorem of Cyclic Groups provides guarantees about the existence of cyclic subgroups within a cyclic group.
10 min read
The constant product formula in Uniswap v3
This chapter is optional. It introduces no fundamentally new concepts compared to the previous ones, but offers a different perspective on deriving real…
11 min read
How Ethereum address are derived (EOAs, CREATE, and CREATE2)
On Ethereum, smart contracts can be deployed in one of three ways. In this article, we will explore how to predict the address of the contract that will…
11 min read
Real reserves in Uniswap v3
In the last chapter, we introduced two new concepts: real reserves and virtual reserves.
12 min read
Real and virtual reserves in Uniswap v3
Uniswap v3 uses two types of reserves: real reserves and virtual reserves. Real reserves represent the actual amount of tokens present in a segment.
17 min read
ERC-6551 Standard: Token Bound Accounts (TBA)
NFTs were originally created to represent ownership of digital or physical assets, like collectibles.