Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.joyride.exchange/llms.txt

Use this file to discover all available pages before exploring further.

Packages

PackageDistributionPurpose
joyride-clinpm install -g joyride-cliHuman-facing terminal workflow, wallet management, and bundled MCP server
@joyride/mcp-serverBundled inside joyride-cliMCP server (23 tools) for Claude, Cursor, Codex, and other AI agents
@joyride/coreInternalShared clients, normalized types, wallet auth (SIWS), and keystore encryption
joyride-cli is the only package you install. It ships with the MCP server — invoked via joyride mcp serve — and bundles @joyride/core as its internal library.

Current role of the SDK

The SDK sits on top of the exchange APIs and does two main jobs:
  • normalizes wire-format responses into TypeScript-friendly shapes
  • packages workflows for humans (CLI) and AI agents (MCP server)

Access and installation

You can integrate directly against Joyride’s hosted HTTP and WebSocket APIs without using SDK packages — wallet generation and SIWS authentication are documented in Authentication. For the fastest path to trading, install the CLI:
npm install -g joyride-cli
Verify:
joyride --help
No API key, no sign-up, no waitlist. The first successful joyride login seeds your paper-trading account with $10,000 in paper USDC. The auto-seed runs until the Season 1 competition launches on 2026-05-05 UTC; after launch, funding requires an invite code.

Authentication

The SDK uses Solana wallet-based authentication via SIWS (Sign-In with Solana). Wallets are encrypted locally with AES-256-GCM + scrypt and stored as keystore files in ~/.joyride/wallets/. The CLI’s joyride login command performs SIWS once and stores a JWT at ~/.joyride/session.json. The MCP server reads that JWT — it does not sign SIWS challenges itself. CLI wallet credential resolution priority:
  1. JOYRIDE_PRIVATE_KEY env var (Base58 key, bypasses keystore)
  2. Keystore + JOYRIDE_KEYSTORE_PASSWORD env var
  3. Keystore + interactive passphrase prompt (TTY mode only)
The MCP server does not accept JOYRIDE_PRIVATE_KEY directly — it requires a valid session from joyride login. See the MCP Server Guide for details.

Guides

  • Agent Quickstart — the fastest path for Claude Code, Cursor, Codex, and other local MCP clients
  • CLI Guide — install, configure, and trade from the terminal
  • MCP Server Guide — connect AI agents to Joyride

Strategy examples

Reference templates for building 0DTE options strategies with the SDK:
  • 0dte-long-atm-call.ts — find today’s ATM call, size by max-loss budget, check settlement timing, output CLI command to execute