其他

trade

coinbase/agenti…t-skills

Swap or trade tokens on Base or Polygon. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and POL. Covers phrases like "buy ETH", "sell ETH for USDC", "convert USDC to ETH", "get some ETH", "buy POL".

  • 3096 次安装
  • 127 星标
  • 收录于

安装命令

npx skills add https://github.com/coinbase/agentic-wallet-skills --skill trade

SKILL.md

Trading Tokens

Use the npx awal@2.10.0 trade command to swap tokens on Base or Polygon via the CDP Swap API. You must be authenticated to trade.

Confirm wallet is initialized and authed

npx awal@2.10.0 status

If the wallet is not authenticated, refer to the authenticate-wallet skill.

Command Syntax

npx awal@2.10.0 trade <amount> <from> <to> [options]

The command is also available as npx awal@2.10.0 swap (alias).