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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/kaankacar/soroban-trader-skillWhat 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
- "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."
- "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."
- "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
quotetool to verify the current market rate before finalizing aswapcommand. 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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-kaankacar-soroban-trader-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution, external-api
Related Skills
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.
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.