gdex-spot-trading

Route spot orders across Solana, Sui, and EVM chains via DEXs.

4|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/GemachDAO/gdex-skill --skill gdex-spot-trading
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gdex-spot-trading
Source: https://github.com/GemachDAO/gdex-skill/tree/main/skills/gdex-spot-trading
Command: npx skills add https://github.com/GemachDAO/gdex-skill --skill gdex-spot-trading

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Buy and sell tokens across Solana, Sui, and 12+ EVM chains with automatic DEX routing, slippage control, and percentage-based sells.

Core Features & Use Cases

  • Automated cross-chain spot trading across Solana, Sui, and 12+ EVM chains via best-available DEX routes
  • Optional targeting of specific DEXs (e.g., Raydium, Uniswap) and precise slippage control
  • Managed-custody trading with encrypted payloads and status polling for execution results
  • Buy and sell flows demonstrated with examples for absolute amounts and percentage-based orders

Quick Start

Install the gdex-skill package, initialize the GdexSkill, and call buyToken or sellToken with a chain, tokenAddress, and amount to perform your first trade.

Frequently Asked Questions about gdex-spot-trading

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

FAQPage Schema
How do I execute cross-chain spot trading across Solana, Sui, and EVM networks?

Cross-chain spot trading is executed by routing orders across Solana, Sui, and 12+ EVM chains through the best available DEX. You initialize the library with login methods, then call buy or sell functions using chain identifiers, token addresses, and amounts.

Can I target a specific DEX like Uniswap or Raydium for my token swap?

Yes, specific DEX targeting is supported for token swaps across chains. While the system defaults to automated best-available DEX routing, you can optionally specify target decentralized exchanges like Uniswap or Raydium for execution.

How does slippage control work for multi-chain token sells?

Slippage control for multi-chain token sells allows you to set acceptable price deviation limits on routed orders. You can execute sells using absolute amount strings or percentage-based orders while managing slippage tolerance across the routed DEX.

Do I need managed-custody trading to buy tokens across multiple chains?

Managed-custody trading is supported but not strictly required to buy tokens across multiple chains. It utilizes encrypted payloads and status polling to return execution results, providing an alternative to direct wallet interactions for cross-chain environments.

What is the best way to automate percentage-based token sells on Solana and Sui?

The best way to automate percentage-based token sells on Solana and Sui is using the sellToken function with percentage-based order inputs. The routing system calculates the proportional amount and executes the swap via the optimal available DEX.

How are cross-chain trade execution results returned to the application?

Cross-chain trade execution results are returned via status polling mechanisms. The system processes encrypted payloads for managed-custody trades and polls for execution status to retrieve the final swap results across the requested chains.