Skip to main content

Build with Panoptic

Use the TypeScript SDK to read options markets, simulate trades, manage positions, and inspect collateral and risk. Panoptic V2 supports perpetual options and lending on Uniswap v3 and v4 pools.

Integration status

External app and builder onboarding is early-stage. Start by evaluating the SDK with the read-only quickstart. A production integration requires application-specific funding, wallet authorization, position tracking, and transaction recovery. Builder onboarding is not yet ready for general external integrations.

Choose your starting point
​

GoalStart hereWhat you will learn
Read a live marketRead your first marketInstall a pinned SDK release and read an ETH/USDC pool on Ethereum without a wallet or funds.
Preview a positionSimulate your first positionConstruct a short call, handle rejection, and interpret collateral impact without signing.
Execute in a sandboxComplete a trade lifecycleFund, open, recover, close, and withdraw on a local fork with no real funds.
Plan a trading integrationHow an integration worksFollow the trading lifecycle and understand what the SDK handles and what your application supplies.
Explore the protocolContract architectureUnderstand the contracts behind markets, collateral, and risk.

Before planning an integration, read Core concepts and Capabilities and support. For setup and simulation failures, use Troubleshooting.

What you can build with the SDK
​

@panoptic-eng/sdk provides typed functions for:

  • Reading pool metadata, collateral, and risk parameters.
  • Constructing multi-leg positions and simulating position changes.
  • Depositing collateral and submitting transactions through a wallet client.
  • Reconstructing positions from events and tracking transaction results.

The SDK's V2 protocol functions read from chain RPC and submit transactions through your wallet. Applications can also use subgraphs for discovery and historical records. See data sources and freshness before choosing how to assemble account state.

Automated delta hedging
​

The Panoptic hedger bot monitors a Safe's option delta and adjusts hedge loans through scoped Zodiac Roles permissions. Its repository documents setup, preflight checks, dry-run inspection, and explicit live activation. Review the enabled roles and rehearse on a fork before operating it; the SDK tutorials here do not verify the bot's deployment or permissions.

Understand the instruments
​

Panoptic options have no scheduled expiry and use streaming premia. Integrations need to account for ongoing premia, borrowing interest where applicable, trading commissions, and collateral requirements. Start with the protocol introduction and risk overview.

Panoptic V2 is the protocol version. Uniswap v3/v4 identifies the underlying AMM. A Panoptic V2 pool can use either AMM; V1 and V1.1 contract interfaces are not interchangeable with V2.

Reference material
​

Continue with Read your first market.