⛓️On-Chain Programs

SolFlip is implemented with Anchor for Solana, benefiting from structured accounts, IDLs, and upgrade paths. The codebase is modularized across three program surfaces:

Dust Scraper Program

  • Accepts incoming SPL tokens.

  • Routes to Jupiter for conversion to SOL.

  • Burns or ignores non-swappable tokens.

Game Program

  • Accepts SOL wagers and multiplier selections.

  • Applies the fixed house edge as documented.

  • Requests VRF randomness and resolves outcomes.

  • Executes atomic payouts to winners.

Treasury Program

  • Custodies house proceeds.

  • Funds ongoing maintenance and future development.

Last updated