본문으로 건너뛰기
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 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크