Additional code examples, available in the SDK repository on Github.
  • ​Basic: Loading exchange, placing orders and viewing state.
  • ​Cranking: Common crank instructions that keep our exchange moving.
  • ​Liquidator: Secure the Zeta platform from over-bankrupt accounts.
  • ​Settlement Print: Previous settlement prints and historical strikes.
  • ​Subscription: Get automatically notified about any margin account changes.
  • ​Versioned Transactions: Fit more instructions into a single transaction with Solana's new features.