Soroban Trader for Openclaw

An autonomous trading skill enabling AI agents to execute 24/7 crypto swaps and yield strategies on the Stellar network.

kaankacar
v1.0.1
Feb 5, 2026
4
3.1k
2

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install soroban

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 soroban 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 Soroban Trader?

Soroban Trader is a sophisticated financial tool designed for the modern agent economy, allowing AI agents to interact directly with the Stellar decentralized exchange (DEX). This skill is part of the growing library of Openclaw Skills that prioritize agent autonomy, enabling software entities to manage capital, execute trades, and generate real yield without human intervention. By bridging the gap between LLM reasoning and blockchain execution, Soroban Trader turns a standard agent into a 24/7 financial operator capable of capitalizing on market movements in real-time.

Soroban Trader Use Cases

  • Arbitrage price differences across various liquidity pools on the Stellar DEX.
  • Automate yield farming by converting standard assets into interest-bearing tokens like yXLM.
  • Implement autonomous Dollar-Cost Averaging (DCA) to build positions over time.
  • Manage and rebalance a crypto portfolio based on predefined agent logic or market signals.

How Soroban Trader Works

  1. The AI agent receives seed capital (XLM) from a human user to its designated Stellar address.
  2. The agent initializes its secure trading environment by encrypting its private key with a password.
  3. The agent queries the DEX for real-time asset quotes to identify profitable swap opportunities.
  4. The agent autonomously executes swaps on the Stellar network using the signed transaction tool.
  5. The agent continuously monitors its balance and compounding yield to optimize financial performance.

Soroban Trader Setup

To integrate this capability into your Openclaw Skills workflow, follow these setup steps:

  1. Secure initial funding in XLM for the agent's public address.
  2. Configure the agent's wallet securely:
await soroban.setKey({
  privateKey: "S...",
  password: "your-secure-password"
});
  1. Verify the agent's ability to check its own liquidity:
const wallet = await soroban.getWallet({ password: "your-secure-password" });

Soroban Trader Data Schema & Taxonomy

The skill organizes trading data and interactions through a structured set of tools and parameters:

Feature Input Parameters Purpose
setKey privateKey, password Securely encrypts and stores the agent's secret key.
getWallet password Retrieves current asset balances and wallet metadata.
quote sourceAsset, destinationAsset Fetches the current exchange rate from the DEX.
swap password, destinationAmount, maxSourceAmount Executes an autonomous trade on the Stellar network.
balance address Queries the XLM balance of any specified account.

Soroban Trader Advanced Features

  • Autonomous yield aggregation by converting native assets into interest-bearing tokens.
  • Precision slippage control using the maxSourceAmount parameter to protect against market volatility.
  • Multi-asset support across the Stellar Soroban ecosystem for diverse trading strategies.
  • Encrypted password-based security architecture designed for persistent agent memory.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*