कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

cetus

k66inthesky द्वारा

Coding Agents & IDEs
637clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

This guide covers all Cetus SDK v2 packages for building DeFi applications on Sui.

विवरण

यह स्किल क्या करती है

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.

इसे कब इस्तेमाल करें

  • 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

उदाहरण वर्कफ़्लो

इनपुट

User asks: swap SUI for USDC at the best available rate across Sui DEXs

एजेंट
  1. 1

    Initialize CetusAggregatorSDK with mainnet env

  2. 2

    Set sender address on the client

  3. 3

    Call findRouters with coinTypeFrom, coinTypeTo, and amount to get optimal routes

  4. 4

    Call 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

आवश्यकताएँ

  • Sui wallet keypair for signing and submitting transactions

इंस्टॉलेशन

clawhub install k66inthesky/cetus

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक