Hi, I'm Utkarsh aka Zyaxxy a full-stack blockchain developer building at the intersection of Web3, distributed systems, and full-stack development, with a curiosity for security. I'm a Turbin3 graduate and a Tata HackQuest Season 10 CTF finalist. I'm currently building Kite, an investing platform on Solana, and exploring projects in DeFi, on-chain protocols, and AI. I enjoy turning complex ideas into useful, intuitive experiences.
A Rust and Anchor automated market maker with two-token pools, configurable fees, liquidity deposits and withdrawals, and swaps with minimum-output checks.
FIG. 010 / SOLANA AMMLiquidity, expressed in Rust.
Overview.
Solana AMM implements the constant-product pool model with program-derived configuration, reserve vaults, and an LP mint. The README documents each instruction and includes a saved integration test run.
Reserves drive the exchange.
Users deposit both pool tokens to receive LP tokens and burn LP tokens to withdraw their share. Swaps calculate output from the reserves, apply the configured fee, and enforce a minimum amount received.
Verify the whole transaction.
An instruction-introspection withdrawal path checks that a matching LP burn appears in the same transaction. It validates the program, accounts, and amount before allowing the withdrawal.