Skip to content

v2.0.0-alpha.10

Pre-release
Pre-release

Choose a tag to compare

@outsmartchad outsmartchad released this 23 Feb 04:20
· 30 commits to agent-trading-infra since this release

What's New

Pyth Oracle Support

  • Create Pyth-pinned perp markets with --oracle <feedId> — price reads come from Pyth on-chain, no manual pushing needed
  • Admin-oracle (Hyperp) mode unchanged for memecoins without Pyth feeds
  • crank, trade, and liquidate auto-detect oracle mode from slab state

Oracle Keeper Bot

  • scripts/keeper.ts — polling-based bot that pushes prices from Jupiter Price API to admin-oracle markets
  • Skips unchanged prices to save SOL
  • Usage: npm run keeper -- --market <SLAB> --token <MINT> --interval 10

Perp CLI Commands (from alpha.9)

  • 11 subcommands: long, short, close, status, deposit, withdraw, init-user, create-market, set-price, crank, markets
  • SOL-denominated inputs, USD prices, auto-crank before trades, quiet mode

Full Changelog

v2.0.0-alpha.9...v2.0.0-alpha.10