jupiter-swap

Route Solana token swaps via Jupiter and return unsigned transactions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Finding the best price for token swaps across multiple Solana DEXs and obtaining a safe, unsigned transaction for local signing can be complex and fragile in sandboxed environments. This Skill centralizes best-price routing across DEXs via the Jupiter aggregator and provides an API proxy to avoid DNS and network issues when fetching quotes and swap transactions.

Core Features & Use Cases

  • Best-price routing across Solana DEXs using Jupiter to maximize swap value.
  • API proxying and quoting so sandboxed clients can request quotes and receive unsigned transactions without direct Jupiter or DNS access.
  • Programmatic unsigned transactions returned for local signing and submission, enabling bots, wallets, and automation scripts to handle private keys securely.
  • Use Case: A trading bot requests a quote for 1 SOL, receives an unsigned swap transaction, signs it locally, and submits it to a Solana RPC node.

Quick Start

Request a best-price swap quote for 1 SOL and return the unsigned transaction for local signing via the readtheskill swap API.

Frequently Asked Questions about jupiter-swap

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

FAQPage Schema
How do I get the best price for Solana token swaps across multiple DEXs?

Solana token swaps use the Jupiter aggregator to route orders across multiple DEXs, finding the best available price. The Skill returns quotes and unsigned transactions through an API proxy, which you then sign locally and submit to a Solana RPC node.

How do I execute programmatic SOL or SPL token swaps in a sandboxed environment?

Programmatic SOL and SPL token swaps in sandboxed environments are executed by requesting a quote through the swap API proxy, receiving an unsigned transaction, signing it locally with your wallet keypair, and submitting it directly to your Solana RPC node.

Can I use my own wallet keypair and Solana RPC node for local signing?

Yes, local signing with your wallet keypair and Solana RPC access are required. The Skill returns unsigned transactions specifically so your private keys remain secure within your local environment, while the API proxy handles quote fetching.

Why does fetching Solana DEX swap quotes fail in sandboxed clients and how is it fixed?

Sandboxed clients often fail to fetch Solana DEX swap quotes due to DNS and network restrictions. This is fixed by using an API proxy that retrieves Jupiter aggregator quotes and returns unsigned transactions without requiring direct network access.

What's the best way to automate Solana token swaps for a trading bot?

Automating Solana token swaps for a trading bot is best handled by programmatically requesting quotes via the Jupiter aggregator proxy, receiving unsigned swap transactions, and having the bot sign and submit them to a Solana RPC node.

Does this approach require direct DNS access to the Jupiter aggregator?

No, direct DNS access to the Jupiter aggregator is not required. The Skill uses a dedicated swap proxy to fetch best-price routing quotes and return unsigned transactions, bypassing network limitations in sandboxed environments.