Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

stable-layer-sdk

bởi k66inthesky

Web & Frontend Development
558Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

A TypeScript SDK for interacting with the Stable Layer protocol on the Sui blockchain.

Mô tả

Kỹ năng này làm gì

TypeScript SDK for the Stable Layer protocol on the Sui blockchain. Supports minting and burning stablecoins by depositing or redeeming USDC, and claiming yield farming rewards from vault farms.

Wraps raw Sui transaction construction into typed methods, removing the need to manually compose Move calls for minting, burning, and reward claiming.

Khi nào nên dùng

  • Minting BtcUSDC by depositing USDC on Sui mainnet
  • Burning stablecoins to redeem USDC
  • Claiming accumulated yield farming rewards
  • Querying total stablecoin supply across coin types
  • Integrating Stable Layer transactions into a dApp

Quy trình ví dụ

ĐẦU VÀO

User asks: mint 1 USDC worth of BtcUSDC on Sui mainnet

AGENT
  1. 1

    Initialize StableLayerClient with network and sender address

  2. 2

    Create a new Sui Transaction object

  3. 3

    Call buildMintTx with stableCoinType, usdcCoin reference, and amount

  4. 4

    Sign and execute the transaction via SuiClient

ĐẦU RA

BtcUSDC minted and deposited into vault farm, transaction result returned

Yêu cầu

  • Sui wallet address and private key

Cài đặt

clawhub install k66inthesky/stable-layer-sdk

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết