Drift Protocol SDK

•
2
•

Executes perpetual futures trading, order management, and account monitoring directly on Solana's Drift Protocol.

Drift Protocol SDK empowers Claude Code to interact directly with Drift Protocol, Solana's premier decentralized perpetual futures exchange, without requiring an external gateway server. It allows traders and developers to open long or short positions, set custom leverage up to 20x, manage limit and market orders, and inspect account health metrics like collateral, margin usage, and unrealized PnL straight from the CLI. This skill is ideal for algorithmic traders, DeFi builders, and Solana developers looking to automate on-chain perp strategies or rapidly manage market exposure directly within their development workflow.

主要功能

012 GitHub stars
02Comprehensive order lifecycle controls to list, modify, or bulk cancel open orders
03Direct native SDK execution for on-chain trading without gateway middleware
04Perpetual futures trading with configurable per-market leverage up to 20x
05Flexible order execution supporting market, limit, post-only, IOC, and FOK orders
06Real-time account risk tracking including health factor, margin ratio, and liquidation prices

使用场景

01Monitoring account collateral health, active positions, and PnL from the terminal
02Executing automated perpetual futures trading and hedging strategies on Solana
03Managing order books and placing limit orders during decentralized application development