drift-sdk

Community

Trade Solana perpetuals directly.

Authoralsk1992
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill allows users to directly trade perpetual futures on the Drift Protocol on Solana using its SDK, bypassing the need for a separate gateway service.

Core Features & Use Cases

  • Direct SDK Integration: Trade without relying on a gateway server.
  • Perpetual Futures Trading: Open, close, and manage long/short positions on various crypto assets.
  • Order Management: Place limit and market orders, view open orders, and cancel them.
  • Account Management: Check balances, collateral, margin, and health factor.
  • Leverage Control: Set leverage for individual markets.
  • Use Case: A user wants to quickly open a long position on BTC-PERP with a specific size and leverage, and this Skill enables them to do so directly via a simple command.

Quick Start

Use the drift skill to open a long position for BTC with a size of 0.1.

Dependency Matrix

Required Modules

@solana/web3.jsbs58drift-sdk

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: drift-sdk
Download link: https://github.com/alsk1992/CloddsBot/archive/main.zip#drift-sdk

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.