Blog
The technical content top engineers rely on to level up.
20 min read
ERC-1155 Explained: The Multi-Token Standard in Solidity
ERC-1155 lets one smart contract manage fungible and non-fungible tokens. Learn its core functions, metadata URIs, minting, and batch transfers, with code.
21 min read
Range Proof
A range proof in the context of inner product arguments is a proof that the scalar v has been committed to V and v is less than 2^n for some non-negative…
6 min read
Reducing the number of equality checks (constraints) through random linear combinations
Random linear combinations are a common trick in zero knowledge proof algorithms to enable m equality checks to be probabilistically checked with a…
4 min read
Inner Product Algebra
In this article, we give some useful algebraic tricks for inner products that will be useful in deriving range proofs (and encoding circuits as inner…
6 min read
Bulletproofs ZKP: Zero Knowledge and Succinct Proofs for Inner Products
Bulletproofs ZKPs allow a prover to prove knowledge of an inner product with a logarithmic-sized proof. Bulletproofs do not require a trusted setup.
9 min read
Logarithmic sized proofs of commitment
We also showed that the outer product "contains" the inner product along its main diagonal.
18 min read
Succinct proofs of a vector commitment
This requires sending n elements to the verifier (assuming a is of length n). In the previous chapter, we showed how to do this with zero knowledge.
8 min read
A Zero Knowledge Proof for the Inner Product
An inner product argument is a proof that the prover carried out the inner product computation correctly.
10 min read
Introduction to ZK Bulletproofs
Bulletproofs are a zero knowledge inner product argument, which enable a prover to convince a verifier that they correctly computed an inner product.
22 min read
Storage Slots of Dynamic Types (Mappings, Arrays, Strings, Bytes)
Dynamic-sized types in Solidity (sometimes referred to as complex types) are data types with variable size.
16 min read
Assembly revert
Reverting transactions using inline assembly can be more gas-efficient than using the high-level Solidity revert or require statement.
9 min read
get_D() and get_y() in Curve StableSwap
This article shows algebraically step-by-step how the code for get_D() and get_y() are derived from the StableSwap invariant.