dflow-spot-trading
Installation
SKILL.md
DFlow Spot Trading
Swap any pair of Solana tokens via DFlow. Trades are synchronous: one /order call returns a signed-ready transaction that you sign, submit, and confirm.
Prerequisites
- DFlow docs MCP (
https://pond.dflow.net/mcp): install per the repo README. This skill is the recipe; the MCP is the reference. Look up endpoint shapes, parameter details, and error codes there rather than guessing.- Convention: a bare doc path in this skill (e.g.
/resources/trading-api/order/order) is an MCP path. Read it withquery_docs_filesystem_d_flow(cat/headthe.mdx) orsearch_d_flow, not a browser fetch. Fullhttps://links are human-facing destinations (runnable recipes, the API-key signup) that you hand to the user.
- Convention: a bare doc path in this skill (e.g.
dflowCLI (optional, for command-line/agent use): install per the repo README.
Choose your surface
- CLI: command line, scripts, local agents. Manages keys, signs, and broadcasts.
- API: web/mobile apps, backends, automations with their own signer. Browser apps must proxy HTTP through their backend (the Trading API serves no CORS).
If unclear, ask once: "From the command line, or wired into an app?"