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.
Requirements & limits
- Clobby is a Solana program, not a documented end-user trading app.
- The market creator is responsible for invoking
consume_eventsto 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.
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
Clone the project and run
anchor test.Build and deploy the program with
anchor buildandanchor deploy.Navigate to the
clientfolder and replace the ProgramID inindex.test.ts.Run
bun test --timeout 60000in 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.
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

