Vai al contenuto
TakoAPI
Torna alle skill

stable-layer-sdk

di k66inthesky

Web & Frontend Development
558Download riportati da clawskills.sh
0Visualizzazioni
0 likeAccedi per mettere like a questa skill
—Non ancora valutato
La tua valutazione

Sintesi

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

Descrizione

Cosa fa questa skill

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.

Quando usarla

  • 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

Esempio di workflow

INPUT

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

OUTPUT

BtcUSDC minted and deposited into vault farm, transaction result returned

Requisiti

  • Sui wallet address and private key

Installazione

clawhub install k66inthesky/stable-layer-sdk

Esegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.

Link