Skip to content

Repository files navigation

pamm-a

Research and implementation sandbox for prop AMM, market making, and simulation on Solana.


What's here

Path Description
src/ Competition entry — EWMA Dynamic Fee v2 (prop-amm-challenge submission)
pinocchio-prop-amm/ Pinocchio 0.10 PMM — most complete: 16 litesvm tests, Jito bot, health/metrics endpoint
quasar-prop-amm/ Quasar AMM + oracle bot
anchor-prop-amm/ Anchor AMM + oracle bot (earliest iteration)
jupiter-mm-bot/ TypeScript MM bot routing via Jupiter
order-book-jupiter-mm-bot/ Order-book variant of the Jupiter MM bot
zero-slot-bot/ Rust zero-slot execution bot
visualization/ PAMM Terminal — live risk cockpit (fee model trace, reader bot, signals, Prop AMM Radar drawer). Deploy-ready static site.
flow-aware-ewma/ EWMA Dynamic Fee v3 — extends src/ with an off-chain "flow pressure" signal driven by competitor activity
scripts/ scan-prop-amm.sh (enumerate 10 competitors' active pools) + reverse-mint-offsets.py (recover account layouts)
docs/ Testing guide across all three AMM implementations
references/ethereum/ Solidity port of the strategy, for EVM comparison
references/solana/prop-amm/ Intel on 10 closed-source Solana prop AMMs — program IDs, account layouts, sample snapshot

Start here

  1. src/lib.rs — the competition strategy: EWMA vol + shock-decay fee model
  2. pinocchio-prop-amm/README.md — end-to-end reference: on-chain program, Jito bot, admin scripts, 16 tests
  3. visualization/terminal.html — open in browser: live risk cockpit with fee model trace, reader bot PnL, signal badges. Sim mode runs without any bot. Click RADAR in the topbar for competitor pool intel across 10 prop AMMs.
  4. references/solana/prop-amm/README.md — how the 10-AMM intel layer feeds the radar, the v3 flow signal, and swap-compare's coverage column.

AMM implementations

Three parallel protocol implementations, each exploring a different Solana framework:

anchor-prop-amm quasar-prop-amm pinocchio-prop-amm
Framework Anchor Quasar Pinocchio 0.10
Tests anchor test cargo test litesvm (16 tests)
Bot Rust oracle bot Rust oracle bot Rust + Jito bundles + circuit breaker
Status baseline high-perf variant most recent

Build & test

See docs/TESTING_GUIDE.md for build steps across all three implementations.

Competition entry (from repo root):

cargo build
cargo test

Topics

solana amm market-making mev defi rust simulation prop-amm

About

research and implementation sandbox for prop AMM, market making, and simulation across Solana-related experiments

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages