Zum Inhalt springen
TakoAPI
Zurück zu den Skills

stable-layer-sdk

von k66inthesky

Web & Frontend Development
558Downloadzahlen laut clawskills.sh
0Aufrufe
0 LikesMelde dich an, um diesen Skill zu liken
—Noch nicht bewertet
Deine Bewertung

Kurzbeschreibung

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

Beschreibung

Was dieser Skill macht

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.

Wann du ihn einsetzt

  • 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

Beispiel-Workflow

EINGABE

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

AUSGABE

BtcUSDC minted and deposited into vault farm, transaction result returned

Voraussetzungen

  • Sui wallet address and private key

Installation

clawhub install k66inthesky/stable-layer-sdk

Führe den CLI-Befehl aus oder füge den Prompt in Claude Code, Cursor, Codex oder deinen Coding-Agenten ein.

Links