Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
A collection of TypeScript SDK packages for interacting with the Cetus Protocol on Sui. Covers concentrated and dynamic liquidity pools, yield farming, governance tokens, limit orders, DCA, permanent liquidity locking, and multi-DEX swap aggregation. Each module ships as its own npm package with a shared initialization pattern.
Covers the full Cetus protocol surface in typed TypeScript packages, so developers avoid raw contract calls or managing separate unofficial libraries for each DeFi operation on Sui.
When to use it
- Setting up recurring DCA orders to accumulate a Sui token over time
- Adding concentrated liquidity to a Cetus pool within a custom price range
- Placing a limit order to buy or sell a token at a target price
- Permanently locking a liquidity position while continuing to collect fees
- Routing a swap across multiple Sui DEXs to get the best execution price
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: swap SUI for USDC at the best available rate across Sui DEXs
- 1Initialize CetusAggregatorSDK with mainnet env
- 2Set sender address on the client
- 3Call findRouters with coinTypeFrom, coinTypeTo, and amount to get optimal routes
- 4Call fastRouterSwap with the routes, slippage tolerance, and keypair
Swap executed across the best available DEX path with the output USDC returned to the sender wallet
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.