SunSwap DEX Trading

Execute token swaps and manage liquidity on SunSwap DEX via sun-cli.

91|14|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/BofAI/skills --skill sunswap-dex-trading
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: SunSwap DEX Trading
Source: https://github.com/BofAI/skills/tree/main/sunswap
Command: npx skills add https://github.com/BofAI/skills --skill sunswap-dex-trading

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps AI agents execute DeFi actions on SunSwap DEX without manually learning the many command variations, parameters, and safety steps needed to swap tokens and manage liquidity on TRON.

Core Features & Use Cases

  • Token swaps with quotes and execution: Generate swap routes and execute trades with slippage controls and structured JSON output.
  • Liquidity management across V2/V3/V4: Add/remove V2 liquidity and mint/increase/decrease/collect concentrated liquidity for V3 and V4.
  • On-chain discovery and analytics: Query wallet balances, token prices, pool search/top-APY, positions, pair info, protocol stats, and transaction scanning.
  • Safety guardrails for agents: Enforces required pre-validation steps (e.g., network validation, token differences, fee/tick validation for V3, balance checks) and a preview-then-confirm workflow.

Quick Start

Ask an AI agent to check a swap quote for swapping 100 TRX to USDT and show the expected output and route before asking for confirmation.

Frequently Asked Questions about SunSwap DEX Trading

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

FAQPage Schema
How do I automate TRON token swaps and liquidity management on SunSwap?

Automate TRON token swaps and liquidity management on SunSwap by using an AI agent to obtain quotes, validate inputs, and execute sun-cli commands. The process requires a YAML-defined skill metadata file and an agent wallet for write operations.

How does AI agent DEX trading work for TRON liquidity pools?

AI agent DEX trading for TRON liquidity pools works by enforcing a preview-then-confirm workflow with agent-side validation. The agent validates network conditions, token differences, and balances before executing structured JSON-output commands for V2/V3/V4 liquidity operations.

Can I manage V3 and V4 concentrated liquidity positions on the TRON network?

You can manage V3 and V4 concentrated liquidity positions on the TRON network by minting, increasing, decreasing, and collecting liquidity. The agent validates fee and tick parameters before executing the required sun-cli commands.

What prerequisites do I need to execute SunSwap DEX transactions via an AI agent?

To execute SunSwap DEX transactions via an AI agent, you need a configured agent wallet for write operations, the sun-cli tool with --json output support, and YAML-defined skill metadata to enable automated protocol analytics and transaction scanning.

How do I query on-chain analytics and pool data for TRON DeFi?

Query on-chain analytics and pool data for TRON DeFi by scanning transactions and searching for pools with top-APY. The agent retrieves protocol stats, token prices, and pair info across mainnet and testnets using structured sun-cli outputs.

What safety checks are required before adding liquidity to a TRON DEX?

Before adding liquidity to a TRON DEX, safety checks require network validation, token difference verification, fee and tick validation for V3 pools, and balance checks. The agent must follow strict preview-and-confirm rules before executing any write operations.