The technical content top engineers rely on to level up.

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...
Last updated on Oct 29, 2024
Polynomial Commitments Via Pedersen Commitments A polynomial commitment is a mechanism by which a prover can convince a verifier a polynomial $p(x)$ has an evaluation $y = p(x)$ at point $x$ without...
Last updated on Oct 26, 2024
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...
Last updated on Oct 19, 2024
3 min read
Trusted Setup A trusted setup is a mechanism ZK-SNARKs use to evaluate a polynomial at a secret value. Observe that a polynomial $f(x)$ can be evaluated by computing the inner product of the...
Last updated on Oct 10, 2024
Wagmi + ReactJS Example: Transfer Crypto and Mint an NFT In this tutorial, we'll learn how to build a Web3 Dapp (Decentralized Application) that connects to your crypto wallet, allowing you to...
Last updated on Oct 1, 2024
25 min read
Arithmetic Circuits for ZK In the context of zero-knowledge proofs, an arithmetic circuit is a system of equations that models a problem in NP. A key point from our article on P vs NP is that any...
Last updated on Sep 28, 2024
10 min read
Initializing Accounts in Solana and Anchor !Storage in Solana Up until this point, none of our tutorials have used "storage variables" or stored anything permanent. In Solidity and Ethereum, a more...
Last updated on Sep 28, 2024
Creating "mappings" and "nested mapping" in Solana !"Mappings" and "Nested Mappings" in Solana In the previous tutorials, the parameter was always empty. If we put data into it, it behaves like a key...
Last updated on Sep 28, 2024
Where to find solidity reentrancy attacks Reentrancy can only happen when your smart contract calls another smart contract via function call or sending ether. If you do not call another contract or...
Last updated on Sep 28, 2024
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...
Last updated on Sep 26, 2024
Uniswap V2 Architecture: An Introduction to Automated Market Makers Uniswap is a DeFi app that enables traders to swap one token for another in a trustless manner. It was one of the early automated...
Last updated on Sep 26, 2024
Viem React Js Example: Transfer, Mint, and View Blockchain State In this tutorial, we’ll build a fully functional Dapp with the Viem typescript library + React (Next.js). We’ll cover the necessary...
Last updated on Sep 26, 2024