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...
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. This article explains how...
4 min read
Require, Revert, and Custom Errors in Solana !Hero Image showing Error code and Macro In Ethereum, we often see a require statement restricting the values a function argument can have. Consider the...
5 min read
Solana Hello World (Installation and Troubleshooting) !Solana Hello World This is a Solana hello world tutorial. We will walk you through the steps to install Solana and troubleshoot issues that may...
6 min read
Arithmetic and Basic Types in Solana and Rust !Hero image showing the Solana logo and a calculator Today we will learn how to create a Solana program that accomplishes the same things as the Solidity...
5 min read
Rust Structs and Attribute-like and Custom Derive Macros !Rust attribute and custom-derive macros Attribute-like and custom derive macros in Rust are used to take a block of Rust code and modify it...
4 min read
Solana programs are upgradeable and do not have constructors !Hero image showing Anchor deploy In this tutorial we will peek behind the scenes of anchor to see how a Solana program gets deployed....
5 min read
Solana Anchor Program IDL !Hero Image showing Interface Definition Language The IDL (Interface Definition Language) is a JSON file that describes how to interact with a Solana program. It is...
5 min read
Basic Rust for Solidity Developers !Hero image showing Rust : the easy parts This tutorial goes over the most commonly used syntax in Solidity and demonstrates the equivalent in Rust. If you want a...
5 min read
Visibility and "inheritance" in Rust and Solana !Rust function visibillity Today we will be learning how Solidity's function visibility and contract inheritance can be conceptualized in Solana. There...
3 min read
Rust function-like procedural Macros !Rust function-like procedural Macros This tutorial explains the distinction between functions and function like macros. For example, why does have an exclamation...
15 min read
Bilinear Pairings in Python, Solidity, and the EVM Sometimes also called bilinear mappings, bilinear pairings allow us to take three numbers, $a$, $b$, and $c$, where $ab = c$, encrypt them to become...