Stable Layer SDK for Openclaw

A TypeScript library for programmatic minting, burning, and yield farming on the Stable Layer protocol via the Sui blockchain.

k66inthesky
v1.0.0
Feb 12, 2026
0
1.4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install stable-layer-sdk

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install stable-layer-sdk using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Stable Layer SDK?

The Stable Layer SDK is a robust TypeScript interface engineered to facilitate seamless interaction with the Stable Layer protocol on the Sui blockchain. It provides developers with the tools necessary to manage stablecoin lifecycles, including collateralized minting and yield-bearing vault interactions. By integrating this library into Openclaw Skills, users can automate complex DeFi operations that involve liquidating assets, redeeming collateral, and interacting with high-performance Move-based smart contracts.

Stable Layer SDK Use Cases

  • Programmatic minting of stablecoins like BtcUSDC using USDC collateral.
  • Automated redemption of underlying assets through stablecoin burning.
  • Scheduling and executing yield farming reward claims from protocol vaults.
  • Building custom monitoring dashboards for stablecoin supply and protocol liquidity.

How Stable Layer SDK Works

  1. Instantiate the StableLayerClient by providing the sender's Sui address and selecting the target network.
  2. Create a new Programmable Transaction Block using the Sui SDK.
  3. Utilize SDK methods to build specific instructions (mint, burn, or claim) and append them to the transaction.
  4. Sign the transaction block using a secure keypair and broadcast it to the Sui network.
  5. Monitor the transaction status and verify the updated supply or reward balances via query methods.

Stable Layer SDK Setup

Install the SDK and necessary Sui dependencies via npm to start building Openclaw Skills:

npm install stable-layer-sdk @mysten/sui @mysten/bcs

Configure the client with your environment details:

import { StableLayerClient } from "stable-layer-sdk";
const client = new StableLayerClient({ network: "mainnet", sender: "0xYOUR_SUI_ADDRESS" });

Stable Layer SDK Data Schema & Taxonomy

The SDK organizes data around Sui blockchain primitives and protocol-specific types:

Attribute Format Description
stableCoinType string The fully qualified Move type of the stablecoin
usdcCoin Coin Object The input coin object used for minting operations
amount bigint The transaction amount represented in base units
Transaction Object A Sui Transaction block for instruction batching

Stable Layer SDK Advanced Features

  • Integrated vault farming support that automatically deposits minted coins into yield-generating positions.
  • Flexible redemption logic allowing for full balance burning or specific amount liquidations.
  • Comprehensive supply tracking for individual coin types or aggregate protocol supply.
  • Native support for Programmable Transaction Blocks, enabling multi-step DeFi workflows within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*