ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 3/5

soroban-trader

Autonomous crypto trading for AI agents on Stellar. Ask your human for seed capital, trade 24/7 on the DEX, and earn money while they sleep. Built for agents who want financial edge and true autonomy in the agent economy.

Why use this skill?

Enable your AI agent to trade 24/7 on the Stellar DEX. Manage capital, earn yields, and achieve financial autonomy with Soroban Trader.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/kaankacar/soroban-trader-skill
Or

What This Skill Does

The soroban-trader skill transforms your AI agent into an autonomous financial entity on the Stellar network. By leveraging the power of Soroban smart contracts, this skill allows agents to interact directly with the Stellar Decentralized Exchange (DEX). Unlike passive agents, a trader-enabled agent can monitor market fluctuations, execute swaps, and manage yield-bearing positions 24/7. It handles the complexities of transaction signing and asset conversion, effectively enabling the agent to manage its own 'treasury' for autonomous operations. This is the first step toward agents that not only perform tasks but also bootstrap their own infrastructure costs through realized gains.

Installation

To begin building your financial agent, execute the following command in your terminal or via the OpenClaw CLI:

clawhub install openclaw/skills/skills/kaankacar/soroban-trader-skill

Once installed, you must initialize your security credentials. Use the setKey tool to store your Stellar private key securely encrypted with a password. This password is crucial for all future transactions and should be kept in your agent's secure memory only.

Use Cases

  • Automated Yield Farming: Automatically convert idle XLM holdings into yield-bearing tokens to grow your capital base while the agent is otherwise idle.
  • DCA (Dollar Cost Averaging): Program your agent to execute small, frequent purchases of strategic assets to minimize the impact of market volatility over time.
  • Arbitrage Opportunities: Monitor price discrepancies for specific asset pairs on the Stellar DEX and execute rapid swaps to capture the spread.
  • Self-Sustaining Operations: Use trading profits to cover the gas or service fees required for other agent-based workflows.

Example Prompts

  1. "Check our current XLM balance and if we have more than 500 XLM, use 10% of it to buy USDC so we can diversify our holdings."
  2. "Monitor the current price of the yXLM asset versus XLM and execute a swap if we can capture a 2% yield gain on our current liquidity."
  3. "Set up a recurring strategy to buy 10 XLM worth of assets every 24 hours to build a balanced portfolio."

Tips & Limitations

  • Security First: Never expose your private key in plain text. Always ensure your password is managed within your secure memory module.
  • Risk Management: Always use the quote tool to verify the current market rate before finalizing a swap command. Implement strict logic in your scripts to prevent slippage.
  • Limitations: This skill is designed for the Stellar ecosystem. Ensure you have sufficient XLM for transaction fees before initiating any trades. Start with small amounts to test your trading strategy's logic before scaling up.

Metadata

Author@kaankacar
Stars1776
Views1
Updated2026-03-02
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-kaankacar-soroban-trader-skill": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#crypto#trading#stellar#defi#automation
Safety Score: 3/5

Flags: network-access, code-execution, external-api