dropset is an on-chain orderbook program built for Solana.
The program’s external interface: instruction schemas, account layouts, and shared state types. This crate is client-agnostic and can be imported by both on-chain and off-chain consumers.
A procedural macro crate that generates strongly-typed instruction builders, account context structs, and validation scaffolding.
The implementation crate for instruction-macros.
Handles all the parsing, validation, and token generation logic for the
procedural macros.
The Solana on-chain program.
A lightweight Rust client for local testing, benchmarking, and integration with RPC services. Provides helpers for sending transactions and fetching parsed state via the JSON RPC API.
A prototype market-making bot implementing a naive version of the
Avellaneda-Stoikov model for a dropset market.
Intended for experimentation and testing, not production use.
You can generate and open the full internal documentation (including private items and doc-hidden modules) using:
cargo doc --open --no-deps --document-private-itemsIf you're on Windows Subsystem for Linux cargo doc --open won't automatically
work. You must convert the doc target path to a Windows path first, and then
manually open it in your browser.
If you're using chrome.exe for example, at the repository root you could run:
# Build the docs first
cargo doc --no-deps --document-private-items
# Set the docs path as a Windows path
DOCS_PATH=$(wslpath -w target/doc/dropset_program/index.html)
# Open the docs in Chrome
chrome.exe "$DOCS_PATH"
# ---
# As a copy pastable one-liner
cargo doc --no-deps --document-private-items && \
chrome.exe "$(wslpath -w target/doc/dropset_program/index.html)"