Skip to main content
Official SDKs handle authentication, typed responses, WebSocket connection management, and automatic reconnection — so you can focus on your trading logic instead of protocol details.

TypeScript SDK

REST + WebSocket client with typed events. Install via npm install @shuriken/sdk-ts.

Rust SDK

Async REST + WebSocket with futures::Stream support. Add shuriken-sdk to your Cargo.toml.

TypeScript

Rust

To enable real-time WebSocket streams in the Rust SDK, opt in to the ws feature: shuriken-sdk = { version = "0.9", features = ["ws"] }.

Quickstart repos

Each SDK has a companion quickstart repo with 25+ runnable examples covering account lookups, token analytics, swaps, trigger orders, perp trading, WebSocket streams, and composite strategies (snipers, copy traders, hedgers).

TypeScript Quickstart

shuriken-quickstart-ts — examples runnable with npx tsx.

Rust Quickstart

shuriken-quickstart-rs — examples runnable with cargo run --example.

Running a TypeScript example

Running a Rust example

Trading examples (0709) default to a DRY_RUN mode in the Rust quickstart — set DRY_RUN=false in .env to send real transactions. The TypeScript versions execute against the live API by default, so review the script and check the amounts before running.