Skip to main content

Packages

PackagePurpose
@joyride/coreShared clients, normalized types, wallet auth (SIWS), keystore encryption, and pricing helpers
joyride-cliHuman-facing terminal workflow for quoting, trading, wallet management, and streaming
@joyride/mcp-serverMCP server (23 tools) for Claude, Cursor, Copilot, and other AI agents

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. For alpha access, Joyride distributes the CLI and MCP server directly to testers. After installation, verify:
joyride --help
command -v joyride-mcp
If you have not received the alpha package or binary yet, contact engineering@joyride.exchange.

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/. Auth resolution priority:
  1. JOYRIDE_PRIVATE_KEY env var (Base58 key, bypasses keystore)
  2. Keystore + JOYRIDE_KEYSTORE_PASSWORD env var
  3. Keystore + interactive passphrase prompt (CLI only, TTY mode)

Guides