trade

Installation
SKILL.md

Trade / Swap Tokens

Exchange one token for another on Starknet via Fibrous (default). Other providers (AVNU, Ekubo) can be selected with --provider, or use --provider auto to race all providers for the best price. All transactions are routed through the Paymaster by default (gas paid in STRK or configured token).

Prerequisites

  • Active session required.
  • Sufficient balance of the source token + gas fees.

Rules

  1. BEFORE any trade, you MUST run npx starkfi@latest status and npx starkfi@latest balance to verify connectivity and source token balance.
  2. Default slippage is 1%. To change, use --slippage <percent>.
  3. Suggest using --simulate first for large trades so the user can review the estimated fee and expected output before committing.
  4. AFTER a successful trade, you MUST verify the transaction using npx starkfi@latest tx-status <hash>.
  5. For multiple swaps in one transaction, use the multi-swap skill instead.

Commands

Related skills

More from ahmetenesdur/starkfi

Installs
10
GitHub Stars
2
First Seen
Mar 15, 2026