OpenViSTAI · Agents · Blockchain · Crypto
Menu
Exchanges & Trading

Clobby

Clobby is a Rust-based Solana on-chain order-book program. It supports bid and ask orders, records fill and out events when opposing orders match, and provides instructions for processing those events and settling market balances to token accounts.

Independent OpenViST project profile, based on linked sources.

Clobby — OpenViST project profile in Exchanges & Trading.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Clobby as a program-level starting point when implementing a Solana market that needs order placement, match-event processing, and balance settlement.

Who it is for

  • Developers building a Solana spot market or token-pair order book.
  • Client developers who need to submit orders and invoke matching-event consumption and balance settlement.

Documented uses

  • Place bid and ask orders in an on-chain market.
  • Record fill and out events when opposing orders match.
  • Update maker and taker balance accounts by consuming market events.
  • Settle base and quote assets from balance accounts back to token accounts.
Before you choose

Requirements & limits

  • Clobby is a Solana program, not a documented end-user trading app.
  • The market creator is responsible for invoking consume_events to update maker and taker balances.
  • Users create a balance account for each market before claiming its base and quote assets.
  • The repository documents Anchor build, deployment, and test commands, plus a Bun-based client test.

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 and run the documented client tests

Build and deploy Clobby, then follow the repository’s client-test sequence.

Before you start

  • A clone of the public Clobby repository
  • Anchor CLI and Bun available in the development environment

Steps

  1. Clone the project and run anchor test.

  2. Build and deploy the program with anchor build and anchor deploy.

  3. Navigate to the client folder and replace the ProgramID in index.test.ts.

  4. Run bun test --timeout 60000 in the terminal.

Expected outcome

The repository describes a workflow for building and deploying the program and running its client tests.

Guide limitations

  • The README does not specify installation steps for Anchor or Bun.
  • These are repository instructions; they do not establish that the commands were independently executed or that deployment will succeed in a particular environment.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
18 October 2026
Original website title
VK-RED/clobby · Official homepage title · retained in its source language