drift

Open and manage Solana perpetual futures and prediction market trades.

71|22|Updated Apr 6, 2020
One-click install
npx skills add https://github.com/nirholas/agenti --skill drift-nirholas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drift
Source: https://github.com/nirholas/agenti/tree/main/packages/protocols/x402-cloddsbot/src/skills/bundled/drift
Command: npx skills add https://github.com/nirholas/agenti --skill drift-nirholas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing complex derivatives on Solana, Drift provides a streamlined interface to place and monitor perpetual futures and prediction market trades with integrated wallet access and risk controls.

Core Features & Use Cases

  • Open long and short positions on SOL-PERP, BTC-PERP, ETH-PERP, and numeric markets
  • View positions, orders, and balance, plus leverage management
  • Monitor account health, risk, and liquidation thresholds across markets

Quick Start

Ask the skill to open a market order on SOL-PERP with a given size and optional price.

Frequently Asked Questions about drift

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I open long and short positions on Solana perpetual futures?

To open Solana perpetual futures positions, you can issue simple commands to place market orders on predefined markets like SOL-PERP, BTC-PERP, and ETH-PERP. The interface supports both long and short positions with configurable leverage.

What's the best way to manage leverage and monitor liquidation risk on Solana perps?

Managing leverage and liquidation risk on Solana perps involves monitoring account health and risk thresholds across markets. You can view active positions, orders, and balances to track liquidation levels and adjust leverage accordingly.

Do I need a private key to trade prediction markets and perps on Solana?

Yes, trading prediction markets and perps on Solana requires a private key for wallet connectivity. You must configure your environment using either the SOLANA_PRIVATE_KEY variable or SOLANA_KEYPAIR_PATH to authorize transactions.

Can I place orders on numeric indices or only on standard crypto perpetuals?

You can place orders on both standard crypto perpetuals and numeric indices. The system supports predefined markets like SOL-PERP, BTC-PERP, and ETH-PERP, alongside numeric indices for broader market exposure.

What happens if my Solana wallet connection fails when placing a perp trade?

If your Solana wallet connection fails when placing a perp trade, the system applies robust error handling and environment gating. It validates your SOLANA_PRIVATE_KEY or SOLANA_KEYPAIR_PATH during run-time module loading to prevent unauthorized access.

Are there limitations to managing derivatives positions via simple commands on Solana?

Managing derivatives via simple commands on Solana is limited to predefined markets like SOL-PERP, BTC-PERP, and ETH-PERP. Complex order types or custom market deployments may not be supported by the streamlined interface.