Blog
The technical content top engineers rely on to level up.
4 min read
Require, Revert, and Custom Errors in Solana
In Ethereum, we often see a require statement restricting the values a function argument can have.
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 E(a), E(b)…
3 min read
Trusted Setup
A trusted setup is a mechanism ZK-SNARKs use to evaluate a polynomial at a secret value.
22 min read
Elementary Set Theory for Programmers
Why another set theory tutorial? The target audience for this piece is the sort of folks who don’t care about abstract math unless they see a direct…
29 min read
Converting Algebraic Circuits to R1CS (Rank One Constraint System)
This article is explains how to turn a set of arithmetic constraints into Rank One Constraint System (R1CS).
4 min read
R1CS to Quadratic Arithmetic Program over a Finite Field in Python
To make the transformation from R1CS to QAP less abstract, let’s use a real example.
17 min read
Quadratic Arithmetic Programs
A quadratic arithmetic program is an arithmetic circuit, specifically a Rank 1 Constraint System (R1CS) represented as a set of polynomials.
9 min read
Building a Zero Knowledge Proof from an R1CS
Given an arithmetic circuit encoded as a Rank 1 Constraint System, it is possible to create a ZK-proof of having a witness, albeit not a succinct one.
30 min read
P vs NP Explained Simply, and Why It Matters for ZK Proofs
P vs NP asks if every problem that is quick to verify is also quick to solve. A plain explanation with Boolean formulas, and what it means for ZK proofs.
14 min read
Elliptic Curve Point Addition
This article describes how elliptic curve addition works over real numbers.
12 min read
Elementary Group Theory for Programmers
This article provides several examples of algebraic groups so that you can build an intuition for them. We also discussed abelian groups.
18 min read
Groth16 Explained
The Groth16 algorithm enables a quadratic arithmetic program to be computed by a prover over elliptic curve points derived in a trusted setup, and…