manifestlisted
Install: claude install-skill sendaifun/skills
# Manifest DEX Integration Guide
Build trading, routing, portfolio, and frontend integrations on top of Manifest's permissionless orderbook.
## Overview
Use this skill when the task involves:
- Reading Manifest market state or orderbooks
- Placing, canceling, depositing, or withdrawing via the Manifest SDK
- Choosing between local market balances and global balances
- Handling wrapper setup, seat claims, and wallet-adapter flows
- Understanding `Limit`, `PostOnly`, `ImmediateOrCancel`, `Global`, `Reverse`, and `ReverseTight` order types
Load supporting references as needed:
- `resources/manifest-actions.md`
- `resources/manifest-sdk.md`
- `docs/troubleshooting.md`
- `examples/read-market/read-market.ts`
- `examples/wallet-order/place-order.ts`
- `examples/global-liquidity/global-order.ts`
- `examples/reverse-liquidity/amm-style-batch.ts`
- `templates/manifest-setup.ts`
## Instructions
1. Determine whether the task is read-only market access or transaction-building.
2. For read-only access, prefer `Market` reads or `ManifestClient.getClientReadOnly(...)`.
3. For transaction-building, use `getClientForMarket(...)` for signer-controlled flows, or use `getSetupIxs(...)` first and then `getClientForMarketNoPrivateKey(...)` for wallet-adapter flows.
4. Decide whether liquidity should be market-local (wrapper balances plus a market seat) or global (global account plus `OrderType.Global`).
5. If the task involves recurring two-sided liquidity, evaluate `Reverse` or `ReverseTi