Documentation Index
Fetch the complete documentation index at: https://docs.dzap.io/llms.txt
Use this file to discover all available pages before exploring further.
The dzap-sdk Skill teaches your editor (Cursor, Claude Code) about every method on @dzapio/sdk. Result: completions match real method signatures and parameter names.
What it covers
DZapClient.getInstance() initialization patterns
- Trade methods:
getTradeQuotes, buildTradeTxn, trade, tradeGasless, status
- Zap methods:
getZapQuote, buildZapTxn, zap, bundles, status
- Approvals: ERC20, Permit2, EIP-2612, AutoPermit
- Token utilities, chain config, intent signing
Install
git clone https://github.com/dzap-io/skills.git
mkdir -p .cursor/rules
cp skills/dzap-sdk/*.md .cursor/rules/
Reload Cursor; the Skill is active per-project.git clone https://github.com/dzap-io/skills.git
ln -s "$PWD/skills/dzap-sdk" ~/.claude/skills/dzap-sdk
Use via /dzap-sdk or let Claude auto-pick when relevant.
What you’ll notice
Without the Skill, an LLM might write:
// hallucinated — wrong method name, wrong params
const quote = await dzap.getQuote({ from: '...', to: '...' });
With the Skill:
const quote = await dzap.getTradeQuotes({
fromChain: 42161,
account: '0xUser',
data: [{ srcToken: '...', destToken: '...', amount: '1000000', slippage: 1 }],
});
Pair with MCP
For runtime calls (real prices, real balances), add the DZap MCP server to the same editor. Skill primes code generation; MCP fetches live data.