{"repo":"smolmusk/solana-clamm-core","free":true,"listed":false,"github":"https://github.com/smolmusk/solana-clamm-core","clone":"git clone https://github.com/smolmusk/solana-clamm-core.git","description":"CLAMM Core (Similar to Orca (Whirlpools), but inspired from Stryke Protocol on EVM)","language":"Rust","stars":37,"topics":["clamm","defi","orca","solana","stryke"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Clamm Core: Solana Anchor Integration This provides a concise overview of a Concentrated Liquidity Automated Market Maker (CLAMM) and demonstrates how to integrate it into your Solana program using the Anchor framework. --- Table of Contents 1. What Is CLAMM? 2. Key Concepts 3. Why Use CLAMM on Solana? 4. Prerequisites 5. Project Setup 6. Anchor Program Structure 7. Client Example (TypeScript) 8. Testing 9. Further Reading --- What Is CLAMM? A Concentrated Liquidity Automated Market Maker (CLAMM) is an AMM design where liquidity providers (LPs) allocate capital within custom price ranges (ticks), similar to Uniswap v3. By concentrating liquidity: - LPs earn higher fees on their capital. - Traders experience deeper liquidity and lower slippage around current prices. Core components : - Ticks : Discrete price boundaries defining where liquidity is active. - Positions : LP deposits assigned to a tick range. - Swap math : Calculates output amounts and updates liquidity using √price and tick data. --- Key Concepts Term Description --------- ---------------------------------------------------- Tick A price step; liquidity is active between two ticks. Liquidity Depth provided by LPs within a tick range. √Price Square-root of price used in CLAMM formulas. Fee Tier Percentage fee (e.g., 0.3%) charged per swap. --- Why Use CLAMM on Solana? - High throughput : Solana’s parallel runtime executes CLAMM instructions quickly. - Low fees : Enables micro-fee strategies for LPs. - Deterministi","default_branch":null,"files":null,"tree":[],"storefront":"/r/smolmusk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/smolmusk/solana-clamm-core/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}