dex-execution

Execute token swaps on Solana DEXs via Jupiter aggregator.

266|54|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/agiprolabs/claude-trading-skills --skill dex-execution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dex-execution
Source: https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/dex-execution
Command: npx skills add https://github.com/agiprolabs/claude-trading-skills --skill dex-execution

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx, solders, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of executing token swaps on Solana decentralized exchanges (DEXs) by leveraging the Jupiter aggregator, simplifying complex multi-step operations.

Core Features & Use Cases

  • DEX Aggregation: Routes swaps across multiple Solana DEXs (Raydium, Orca, etc.) for optimal pricing.
  • End-to-End Execution: Handles quoting, transaction building, signing, and confirmation.
  • Use Case: Quickly swap SOL for USDC with the best available rate, ensuring the transaction is securely built, signed, and confirmed on-chain.

Quick Start

Execute a swap of 1 SOL for USDC, allowing for up to 0.5% slippage.

Frequently Asked Questions about dex-execution

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

FAQPage Schema
How do I execute token swaps on Solana DEXs using Jupiter aggregation?

You can execute Solana DEX swaps by obtaining quotes through the Jupiter aggregator, which routes transactions across multiple exchanges for optimal pricing. The Skill manages the full pipeline from transaction building to on-chain confirmation with custom slippage tolerances.

What is the best way to automate Solana swap routing across Raydium and Orca?

The best way to automate Solana swap routing is using a DEX aggregator that scans liquidity pools across platforms like Raydium and Orca. This ensures you receive the best available exchange rate without manually checking each individual DEX.

Can I set custom slippage tolerance for DeFi token swaps on Solana?

Yes, you can set custom slippage tolerance for DeFi token swaps on Solana. The Skill allows you to define specific slippage parameters, such as 0.5%, during the quote retrieval phase to protect against price movement before on-chain execution.

Do I need solders and httpx to run Solana DEX swap transactions?

Yes, you need the solders and httpx dependencies to run Solana DEX swap transactions. These libraries handle the HTTP communication with the Jupiter API for quotes and manage the Solana blockchain transaction signing and submission.

Does this approach handle transaction signing and finalization for Solana swaps end-to-end?

Yes, this approach handles transaction signing and finalization for Solana swaps end-to-end. It covers the complete workflow from obtaining initial quotes and building the transaction to securely signing and confirming the swap on-chain.