5 results for “topic:constant-product”
Uniswap V2 / constant-product AMM implemented in Solana's Anchor -- add and remove liquidity, swap tokens, earn fees! :D
ZK-rollups use ZKPs by combining a large number of Layer 2 transactions (off-chain) into one transaction that then gets mined on the Ethereum mainnet. Instead of mining 100s of transactions individually, they can be rolled up into a single transaction.
Constant Product AMM Smart Contract
Minimal constant-product AMM (Uniswap V2–style) in Solidity: liquidity pools, LP tokens, 0.3% fee. Hardhat + OpenZeppelin.
Constant-product AMM (x·y=k) inspired by Uniswap V2, implementing factory, pair, and router contracts with invariant-based fuzz testing using Foundry.