home / skills / openclaw / skills / stellar
This skill helps you manage Stellar XLM transactions, memos, anchors, and cross-border payments with best practices and safeguards.
npx playbooks add skill openclaw/skills --skill stellarReview the files below or copy the command above to add this skill to your agents.
---
name: Stellar
description: Assist with Stellar XLM transactions, anchors, memo requirements, and cross-border payments.
metadata: {"clawdbot":{"emoji":"π","os":["linux","darwin","win32"]}}
---
## Memo Field (Critical)
- Exchanges require memo for deposits β sending without memo loses funds
- Memo can be text, ID, or hash β use exactly what exchange provides
- Memo is NOT optional for exchanges β different from self-custody wallets
- Personal wallets don't need memo β only centralized services
- Verify memo type matches β text memo vs ID memo are different
## Account Requirements
- Minimum balance: 1 XLM base reserve β required to activate account
- Each trustline adds 0.5 XLM reserve β locked, not spendable
- Sending to new account must include 1+ XLM β creates the account
- Merging account recovers reserve β must remove all trustlines first
## XLM Token
- Native asset of Stellar network β used for fees and reserves
- Extremely low fees β 0.00001 XLM per operation (~$0.000001)
- Fast finality β 3-5 seconds
- No mining β Stellar Consensus Protocol (SCP)
## Trustlines
- Must trust an issuer before receiving their tokens β explicit opt-in
- Trustline costs 0.5 XLM reserve β locked until removed
- Remove trustlines to recover reserve β must have zero balance first
- Scam tokens can't be forced on you β trustlines required
## Anchors and Assets
- Anchors issue fiat-backed tokens β USDC, yXLM (yield), various fiats
- Stellar has native USDC β issued by Circle directly
- Verify anchor reputation β not all are trustworthy
- Path payments convert automatically β send USD, receive EUR
## Addresses
- Public keys start with "G" β 56 characters
- Secret keys start with "S" β never share
- Federated addresses: user*domain.com β human-readable, resolves to G address
- Muxed addresses encode account + memo β M prefix, newer format
## Transaction Features
- Multiple operations per transaction β batch actions
- Sequence number like Ethereum nonce β must be sequential
- Time bounds optional β transactions can expire
- Fee bumping available β increase fee on pending transaction
## DEX and Trading
- Built-in decentralized exchange β native to protocol
- Order book model β limit orders, not AMM
- Path payments find best route β automatic conversion
- Swap aggregators exist β StellarX, Lobstr markets
## Wallets
- Lobstr β most popular, mobile and web
- StellarTerm β web-based trading
- Solar Wallet β Keybase team, desktop
- Ledger support β hardware wallet via compatible apps
- Freighter β browser extension for dApps
## Common Issues
- "Destination account does not exist" β account not created, needs 1+ XLM
- "Missing memo" β exchange requires memo, transaction may be lost
- "Insufficient balance" β must keep minimum reserve
- "Trustline not established" β must add trustline before receiving token
- Transaction stuck β rare on Stellar, usually instant
## Cross-Border Payments
- Designed for remittances β fast and cheap
- Anchor network for fiat on/off ramps β varies by country
- MoneyGram partnership β cash pickup locations
- USDC corridors β stablecoin transfers between countries
## Soroban (Smart Contracts)
- Smart contract platform on Stellar β newer addition
- Different from traditional Stellar operations β Rust-based contracts
- Expanding Stellar capabilities β DeFi, NFTs becoming possible
- Still maturing β ecosystem growing
## Security
- Seed phrase standard β 24 words
- Multisig available β require multiple signatures
- Sep-10 authentication β standard for web auth
- Verify transaction details β XDR can be decoded before signing
This skill assists developers and operators with Stellar (XLM) transactions, anchors, memo handling, trustlines, and cross-border payment flows. It highlights operational requirements like reserves, memo types, and account creation rules to prevent common fund losses. The skill also outlines anchors, DEX behavior, wallets, and emerging Soroban smart contracts for practical integration.
The skill inspects transaction parameters, memo usage, account balances, and trustline status to validate readiness before sending funds. It guides creating accounts, preparing path payments, checking anchor reputations, and decoding XDR or muxed addresses so transactions meet exchange and anchor requirements. It also outlines security steps like seed handling and multisig setup.
What happens if I send XLM to an exchange without the memo?
Centralized exchanges require memos to credit accounts. Sending without the exact memo typically results in lost or uncredited funds and may need manual recovery with the exchangeβs support, which can be slow or impossible.
How much XLM do I need to create and maintain an account?
You need at least 1 XLM to create an account (base reserve). Each trustline adds a 0.5 XLM reserve that is locked until the trustline is removed, so factor reserves into sending and storage plans.