OpenViSTAI · Agents · Blockchain · Crypto
Menu
DeFi

Solana Clamm Core

Solana Clamm Core is a Rust-based concentrated-liquidity AMM core and Anchor integration example for Solana programs. It describes tick-bounded liquidity positions and swap calculations, with example instructions for pool initialization, position minting and swaps.

Independent OpenViST project profile, based on linked sources.

Solana Clamm Core — OpenViST project profile in DeFi.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use the repository as an integration reference when designing a Solana Anchor program around concentrated-liquidity pools, positions and swaps.

Who it is for

  • Solana developers building DeFi programs with Anchor
  • Developers exploring tick-based liquidity positions and concentrated-liquidity swap logic
  • Client developers who want to see an Anchor TypeScript pattern for calling pool, position and swap instructions

Documented uses

  • Initialize a pool with a fee and tick spacing
  • Represent liquidity positions between lower and upper ticks
  • Calculate swap output using concentrated-liquidity math
  • Call the example instructions from a TypeScript Anchor client
Before you choose

Requirements & limits

The repository is public and MIT-licensed.

  • The examples use Rust and Anchor for Solana programs, with TypeScript for the client pattern.
  • The README lists Rust and Solana tooling, Anchor, and Node.js with Yarn or npm as prerequisites.
  • The code snippets illustrate integration patterns but do not establish completeness or production readiness.
  • The README provides local-validator and Anchor test commands without reporting execution results.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Set up a Solana CLAMM development environment

Prepare the documented Rust, Solana, Anchor and JavaScript tooling for working with the Anchor integration.

Before you start

  • Rust and the Solana toolchain, including rustup and solana-cli
  • Anchor framework
  • Node.js and Yarn or npm

Steps

  1. Install the Rust and Solana toolchain.

  2. Install the Anchor framework.

  3. Install Node.js and choose Yarn or npm.

Expected outcome

The documented tooling prerequisites are in place for the repository's Anchor program and TypeScript client examples.

Guide limitations

  • The README lists prerequisites but does not provide a complete installation walkthrough.
  • This is a setup guide; it does not establish successful program execution or deployment.
Source-based practical guide

Follow the documented Anchor local test workflow

Use the README's stated commands to start a local validator and run Anchor tests.

Before you start

  • The Rust, Solana and Anchor tooling described in the README
  • A project checkout with its required dependencies

Steps

  1. Run anchor localnet --reset to start the local validator.

  2. In another terminal, run anchor test.

Expected outcome

The documented local-validator and test commands are invoked for the Anchor project.

Guide limitations

  • The README does not include test output or establish that the commands succeed in a given environment.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 October 2026
Original website title
smolmusk/solana-clamm-core · Official homepage title · retained in its source language