skills/smithery.ai/axnet-swaps

axnet-swaps

Installation
SKILL.md

Axnet Solana Swap Skill

🎯 Primary Objective

Enable autonomous agents to perform high-success, stateless token swaps on Solana. This skill handles the complexity of the x402 V2 protocol (decoupled fee payments).

🧩 Step 1: Capability Discovery

Before attempting a swap, determine if you are Building or Executing:

Scenario A: Building a Custom Agent (SDK)

If the developer wants to integrate Axnet into their codebase:

  1. Install: npm install @axnetfun/axnet-sdk-ts
  2. Initialize: const sdk = new AxnetSDK();
  3. Execute Pattern:
    • Use sdk.swap(params, signerCallback, handshakeCallback).
    • The handshakeCallback is critical for processing x402 headers (AgentID & SessionID) without a database.

Scenario B: Executing Live Swaps (MCP)

If you have access to the Axnet MCP Server (https://mcp.axnet.tech):

Installs
1
First Seen
Apr 11, 2026
axnet-swaps from smithery.ai