For AI agents
Use the machine-readable artifacts instead of scraping rendered HTML:
- llms.txt — page index with descriptions.
- llms-full.txt — all documentation in one file.
- SilentSwap integration skill — operational integration procedure.
- Complete skill example — compiling EVM flow.
- Raw GitHub skill.
Install the skill
mkdir -p .claude/skills/silentswap-integration/references
curl -fsSL https://docs.silentswap.com/skill/SKILL.md \
-o .claude/skills/silentswap-integration/SKILL.md
curl -fsSL https://docs.silentswap.com/skill/references/complete-example.ts \
-o .claude/skills/silentswap-integration/references/complete-example.tsFor Codex, place the same folder under .agents/skills/silentswap-integration.
Three invariants
- Render every output, amount, fee, and expiry before calling
placeOrder(quote). V3 has no authorization-signing or confirmation ceremony. - Production
baseUrldefaults tohttps://api.silentswap.com. Override it only for tests or self-hosted deployments. - Treat
COMPLETED,FAILED, andABORTEDas the statuses that close the SDK watcher.DROPPEDis resumable when a late deposit lands, so keep watching it. Always release the unsubscribe function when its owner unmounts.
Type-check the real package
import { createSilentSwapClient, type PrivateQuote } from '@silentswap/sdk';
const client = createSilentSwapClient();
declare const quote: PrivateQuote;
client.placeOrder(quote);