gmgn-swap

Execute secure on-chain token swaps and check order statuses via gmgn-cli.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/virusfrog1-code/AVE --skill gmgn-swap-virusfrog1-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gmgn-swap
Source: https://github.com/virusfrog1-code/AVE/tree/main/.agents/skills/gmgn-swap
Command: npx skills add https://github.com/virusfrog1-code/AVE --skill gmgn-swap-virusfrog1-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill reduces the risk and manual effort of performing irreversible on-chain token swaps by guiding users through a secure, auditable CLI-driven workflow that signs transactions locally and requires explicit confirmation.

Core Features & Use Cases

  • Execute real token swaps on supported chains (sol / bsc / base) via the gmgn-cli with mandatory user confirmation.
  • Query order statuses and fetch quotes, or create strategy orders, all while keeping keys and signing local.
  • Supports anti-MEV protection and clear risk notices to protect users during volatile trades.

Quick Start

Use a simple, direct command to initiate a swap workflow with your chain, wallet, input/output tokens, and amount, then confirm the prompt to proceed.

Frequently Asked Questions about gmgn-swap

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

FAQPage Schema
How do I execute secure on-chain token swaps from the command line?

To execute secure on-chain token swaps from the command line, you initiate a swap workflow via the gmgn-cli by specifying your chain, wallet, input/output tokens, and amount, then explicitly confirm the prompt to proceed with the irreversible transaction.

Which blockchain ecosystems are supported for submitting CLI token swaps?

The supported blockchain ecosystems for submitting CLI token swaps are Sol, Bsc, and Base, allowing you to perform secure on-chain transactions and manage strategy orders across these specific networks.

Do I need API keys and private keys to query token swap quotes?

You do not need private keys to simply query quotes or obtain order status, but executing real swaps requires critical authentication using your GMGN_API_KEY and GMGN_PRIVATE_KEY to sign transactions locally.

How does this CLI workflow protect against MEV attacks during token swaps?

This CLI workflow protects against MEV attacks during token swaps by supporting anti-MEV protection mechanisms and enforcing pre-swap security checks, ensuring clear risk notices are provided before you confirm volatile trades.

Can I manage strategy orders and handle rate limits using gmgn-cli?

Yes, you can manage strategy orders and handle rate limits using gmgn-cli, as it supports creating strategy orders under normal and private-key authenticated flows while automatically handling rate limits, polling, and post-swap reporting.