İçeriğe geç
TakoAPI
Becerilere dön

stable-layer-sdk

k66inthesky tarafından

Web & Frontend Development
558İndirme sayıları clawskills.sh tarafından bildirilir
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

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

Açıklama

Bu Beceri Ne Yapar

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.

Ne Zaman Kullanılır

  • 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

Örnek İş Akışı

GİRİŞ

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

AJAN
  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

ÇIKIŞ

BtcUSDC minted and deposited into vault farm, transaction result returned

Gereksinimler

  • Sui wallet address and private key

Kurulum

clawhub install k66inthesky/stable-layer-sdk

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar