drift-protocol

Automate Drift Protocol trading, vaults, deposits, withdrawals, and account management on Solana.

3|1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/readtheskill/readtheskill --skill drift-protocol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drift-protocol
Source: https://github.com/readtheskill/readtheskill/tree/main/public/skills/drift-protocol
Command: npx skills add https://github.com/readtheskill/readtheskill --skill drift-protocol

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drift Protocol exposes a wide set of on-chain actions for perpetual trading, vault management, lending, borrowing, and account management that are time-consuming and error-prone to implement manually. This Skill consolidates those actions into discoverable, actionable operations so developers and autonomous agents can integrate Drift workflows quickly and reliably.

Core Features & Use Cases

  • Create and manage Drift user accounts with deposits to bootstrap trading activity.
  • Create and operate managed vaults, deposit/withdraw flows, delegated vault trading, and vault parameter updates.
  • Execute perpetual (perp) trades, spot interactions, and lending/borrowing operations with on-chain confirmations.
  • Use Case: An agent can create a drift user account, deposit collateral, and perform an automated perp trade or route funds into a managed vault for delegated trading strategies.

Quick Start

Use the drift-protocol skill to create a user account, deposit funds, and execute a perpetual trade on Solana using the Drift actions.

Frequently Asked Questions about drift-protocol

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

FAQPage Schema
How do I automate on-chain perpetual trades on Solana?

Automate on-chain perpetual trades on Solana by executing perp operations through Drift Protocol program accounts, handling trade parameters, signing Solana transactions, and verifying on-chain confirmations for reliable automated execution.

Can I create and manage DeFi vaults on Solana for delegated trading?

Yes, you can create and operate managed DeFi vaults on Solana for delegated trading by setting up vault parameters, processing deposit and withdraw flows, and enabling delegated vault trading strategies through Drift Protocol program accounts.

How do I set up a Drift user account and deposit collateral on Solana?

Set up a Drift user account and deposit collateral on Solana by initializing the user account through Drift program interactions, then sending deposit parameters within signed Solana transactions to bootstrap trading activity.

Does Drift Protocol support lending and borrowing operations alongside spot trading?

Yes, Drift Protocol supports lending, borrowing, and spot interactions alongside perpetual futures trading. These operations require signing Solana transactions, interacting with Drift program accounts, and verifying on-chain confirmations for settlement.

What's the best way to integrate autonomous agents with Solana DeFi trading workflows?

Integrate autonomous agents with Solana DeFi trading workflows by using actionable operations to create accounts, deposit funds, execute perp trades, and route funds into managed vaults, handling Drift parameters and Solana transaction signing programmatically.

What are the limitations of automating Solana perp trading with Drift Protocol?

Automating Solana perp trading with Drift Protocol requires handling Solana transaction signing, interacting with Drift program accounts, and verifying on-chain confirmations. Operations are limited to Drift-supported perp trades, spot operations, lending, borrowing, and vault management.