Blog
The technical content top engineers rely on to level up.
12 min read
What are Pedersen Commitments and How They Work
Pedersen commitments allow us to encode arbitrarily large vectors with a single elliptic curve point, while optionally hiding any information about the…
4 min read
The Schwartz-Zippel Lemma and its application to Zero Knowledge Proofs
Nearly all ZK-Proof algorithms rely on the Schwartz-Zippel Lemma to achieve succintness. Let's consider a few examples.
3 min read
Lagrange Interpolation with Python
Lagrange interpolation is a technique for computing a polynomial that passes through a set of n points.
8 min read
Breaking Down the Uniswap V2 Swap Function
Uniswap V2’s swap function is cleverly designed, but many devs find its logic counterintuitive the first time they encounter it.
5 min read
Rust Structs and Attribute-like and Custom Derive Macros
Attribute-like and custom derive macros in Rust are used to take a block of Rust code and modify it in some way at compile time, often to add…
5 min read
Solana Hello World (Installation and Troubleshooting)
This is a Solana hello world tutorial. We will walk you through the steps to install Solana and troubleshoot issues that may arise.
5 min read
Solana Anchor Program IDL
The IDL (Interface Definition Language) is a JSON file that describes how to interact with a Solana program.
4 min read
Solana programs are upgradeable and do not have constructors
In this tutorial we will peek behind the scenes of anchor to see how a Solana program gets deployed.
5 min read
Basic Rust for Solidity Developers
This tutorial goes over the most commonly used syntax in Solidity and demonstrates the equivalent in Rust.
6 min read
Arithmetic and Basic Types in Solana and Rust
Today we will learn how to create a Solana program that accomplishes the same things as the Solidity contract below.
3 min read
Rust function-like procedural Macros
This tutorial explains the distinction between functions and function like macros. For example, why does msg! have an exclamation point after it?
5 min read
Visibility and "inheritance" in Rust and Solana
Today we will be learning how Solidity's function visibility and contract inheritance can be conceptualized in Solana.