sodax-sdk-dex
Installation
SKILL.md
DEX (Core SDK granular skill)
Granular skill for DexService — facade owning clService: ClService (concentrated liquidity) and assetService: AssetService (hub-asset deposit/withdraw). Access via sodax.dex.clService and sodax.dex.assetService. Feature tag for errors: 'dex'.
Step 1 — Clarify with user before coding
- New code or v1 → v2 port?
- Which operation?
- LP:
createPosition,increaseLiquidity,decreaseLiquidity,claimFees,closePosition. - Assets:
deposit(spoke → hub-asset wrapper),withdraw(hub → spoke).
- LP:
- Does the position require an asset deposit first? LP positions hold hub assets; the user must deposit from a spoke chain before opening a position.
- Signed or unsigned-tx flow?