Skip to main content
Orica SDK
The Orica SDKs provide complete interfaces for interacting with the Orica prediction market protocol on Solana. Available in both TypeScript and Python.

Choose Your SDK

TypeScript SDK

@neko/orica-sdk for Node.js and browser applications.

Python SDK

orica-sdk for Python 3.12+ applications.

Features

Transaction Builders

Build instructions for all on-chain operations: trading, redemption, disputes.

Account Fetching

Fetch and decode market, position, and dispute accounts.

PDA Derivation

Utilities for deriving Program Derived Addresses.

Typed

Full TypeScript types and Python dataclasses for all accounts.

Quick Example


SDK Architecture

Both SDKs expose two main clients:

OricaClient Methods


DisputesClient Methods


Program IDs



Next Steps

Installation

Install the SDK and dependencies.

Configuration

Configure the SDK for your use case.

Markets

Fetch and query market data.

Trading

Execute buy, sell, and redeem operations.