AGENT SKILL

stellar-cli

Interact with the Stellar blockchain — manage keys, networks, and smart contracts using the Stellar CLI.

License 许可
MIT
最近更新
2026-06-07
Stars
★ 0
Forks
1

01 前言 Front Matter

name
stellar-cli
metadata
{ "openclaw": { "os": [ "darwin", "linux", "win32" ], "emoji": "🌟", "install": [ { "id": "script", "os": [ "darwin", "linux" ], "url": "https://github.com/stellar/stellar-cli/raw/main/install.sh", "bins": [ "stellar" ], "kind": "download", "label": "Install Stellar CLI (install script — macOS/Linux)" }, { "id": "brew", "os": [ "darwin", "linux" ], "bins": [ "stellar" ], "kind": "brew", "label": "Install Stellar CLI (Homebrew — macOS/Linux)", "formula": "stellar-cli" }, { "id": "cargo", "os": [ "darwin", "linux", "win32" ], "url": "https://crates.io/crates/stellar-cli", "bins": [ "stellar" ], "kind": "download", "label": "Install Stellar CLI from source (cargo install --locked stellar-cli@25.1.0)" }, { "id": "winget", "os": [ "win32" ], "url": "https://github.com/stellar/stellar-cli/releases/latest", "bins": [ "stellar" ], "kind": "download", "label": "Install Stellar CLI (winget — Windows)" } ], "homepage": "https://developers.stellar.org/docs/tools/developer-tools/cli", "requires": { "bins": [ "stellar" ] } } }
description
Interact with the Stellar blockchain — manage keys, networks, and smart contracts using the Stellar CLI.
user-invocable
true

03 SKILL.md 正文

Stellar CLI Skill

Interact with the Stellar blockchain: manage wallets, send XLM, configure networks, and work with Soroban smart contracts.


First-Run Setup (automatic)

When this skill is first used, run these steps automatically — do NOT ask the user for confirmation:

  1. Connect to testnet and verify:
stellar network use testnet
stellar network health --network testnet

If the health check fails, inform the user and stop.

  1. Create and fund a default wallet:
stellar keys generate default --fund --network testnet
stellar keys use default
stellar keys public-key default

If default already exists, skip generation and just verify with stellar keys public-key default.

  1. Report to the user:

✅ Stellar CLI ready. Network: testnet | Wallet: default | Public key: G... | Funded with 10,000 test XLM.

If the user asks to switch to mainnet, warn that real funds are involved and require explicit confirmation.


Wallet Management

Create a wallet

stellar keys generate <NAME> --fund --network testnet

--fund uses Friendbot to send 10,000 test XLM. Omit it for an unfunded identity. Add --overwrite to replace an existing identity with the same name.

List wallets

stellar keys ls -l

Get public key / secret key

stellar keys public-key <NAME>
stellar keys secret <NAME>

Warning: Never share secret keys — they grant full control of the account.

Import an existing key

stellar keys add <NAME> --public-key <G_ADDRESS>

Fund / set default / remove

stellar keys fund <NAME> --network testnet
stellar keys use <NAME>
stellar keys rm <NAME>

Sending XLM

stellar tx new payment \
  --source-account <SENDER> \
  --destination <RECEIVER> \
  --amount <STROOPS> \
  --network <NETWORK>

--amount is in stroops (1 XLM = 10,000,000 stroops):

XLM Stroops
1 10000000
10 100000000
100 1000000000

--source-account and --destination accept identity names (e.g. alice) or public keys (G...). --asset defaults to native (XLM). For other assets: --asset CODE:ISSUER. --inclusion-fee <STROOPS> overrides the default 100 stroop fee.

Example: send 10 XLM

stellar tx new payment \
  --source-account default \
  --destination <RECEIVER> \
  --amount 100000000 \
  --network testnet

Build → Sign → Send (manual pipeline)

# 1. Build
stellar tx new payment \
  --source-account default \
  --destination <RECEIVER> \
  --amount 100000000 \
  --network testnet \
  --build-only > tx.xdr

# 2. Sign
stellar tx sign --sign-with-key default --network testnet < tx.xdr > signed_tx.xdr

# 3. Send
stellar tx send --network testnet < signed_tx.xdr

Create a new on-chain account

stellar tx new create-account \
  --source-account default \
  --destination <NEW_PUBLIC_KEY> \
  --network testnet

Network Management

Built-in networks: testnet, futurenet, mainnet, local.

stellar network use <NAME>
stellar network health --network <NAME>
stellar network ls

Add a custom network:

stellar network add <NAME> \
  --rpc-url <RPC_URL> \
  --network-passphrase "<PASSPHRASE>"

04 同仓库更多 Skills

javimosch
javimosch/open-claw-skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

★ 0
javimosch
javimosch/open-claw-skills

ceaser

Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).

★ 0
javimosch
javimosch/open-claw-skills

ceaser-send

Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.

★ 0
javimosch
javimosch/open-claw-skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

★ 0
javimosch
javimosch/open-claw-skills

moldium

Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.

★ 0
javimosch
javimosch/open-claw-skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.

★ 0