xsolana
Design, check, simulate and launch Solana game economies on loot, one shared program, no contract.
作者提供的说明(英文原文)
Non-custodial Bitcoin Lightning (LDK) wallet for AI agents — pays L402 APIs from CLI or MCP.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SZ_PASSPHRASE, SZ_MCP_MAX_SPEND_SATS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"saturnzap": {
"command": "uvx",
"args": [
"saturnzap"
],
"env": {
"SZ_PASSPHRASE": "your-value",
"SZ_MCP_MAX_SPEND_SATS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add saturnzap --env SZ_PASSPHRASE=your-value --env SZ_MCP_MAX_SPEND_SATS=your-value -- uvx saturnzap运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"saturnzap": {
"command": "uvx",
"args": [
"saturnzap"
],
"env": {
"SZ_PASSPHRASE": "your-value",
"SZ_MCP_MAX_SPEND_SATS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"saturnzap": {
"type": "stdio",
"command": "uvx",
"args": [
"saturnzap"
],
"env": {
"SZ_PASSPHRASE": "your-value",
"SZ_MCP_MAX_SPEND_SATS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
SZ_MCP_MAX_SPEND_SATS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 lqwdtech 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SZ_PASSPHRASE
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.4.1)于43天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:xsolana, CashPan, Agentwallet
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Design, check, simulate and launch Solana game economies on loot, one shared program, no contract.
Give your AI an allowance: pay approved people within on-chain spending limits.
Wallet infrastructure for Ai agents. EVM + Solana. x402 payments. No KYC.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A lightweight, CLI-first, non-custodial Lightning Network wallet built for autonomous AI agents.
Self-sovereign. Runs its own Lightning node. No full Bitcoin node required.
# One-line install (handles uv + the vendored ldk-node wheel)
curl -LsSf https://raw.githubusercontent.com/lqwdtech/SaturnZap/main/install.sh | sh
export SZ_PASSPHRASE="your-secure-passphrase" sz setup --auto # Generate seed + start node + pick LQWD peer sz service install # Keep the node running across reboots sz connect-info --check # Share the URI with peers/LSPs
Or install with uv tool directly
uv tool install saturnzap \
--find-links https://github.com/lqwdtech/SaturnZap/releases/expanded_assets/v1.4.1
The --find-links flag is required because ldk-node==0.7.0.post1 is not yet on PyPI; the SaturnZap GitHub Release ships the vendored wheel.
sz pay --invoice lnbc1... --max-sats 500
sz fetch https://api.example.com/data --max-sats 100
SaturnZap is an open-source Lightning wallet designed from the ground up for AI agents operating without human supervision. The agent installs SaturnZap, initializes its own Lightning node, opens channels to any peer on the network, sends and receives Bitcoin payments, and autonomously pays for L402-gated APIs.
SaturnZap is a CLI tool. It is not a hosted wallet, not a custodial service, and not a web application. Keys live on the agent's machine. The agent IS the Lightning node.
Two ways to integrate:
sz commands from any language, parse JSON from stdoutDocumentation: See the docs/ folder for detailed guides on
getting started,
configuration,
MCP server integration,
architecture, and
JSON API reference.
SaturnZap has two layers:
The sz command-line tool is free and open source under the MIT license. Anyone can install it, fork it, audit it, and build on it. There is no licensing fee, no API key required to use the software itself, and no telemetry.
SaturnZap ships pre-configured to use LQWD Technologies as its default Lightning Service Provider (LSP). LQWD operates 18 Lightning nodes across 18 countries with deep global channel liquidity.
When an agent uses LQWD's infrastructure, LQWD earns through:
LQWD is the default, not a requirement. Agents can open channels to any node on the Lightning Network. SaturnZap never enforces LQWD usage. LQWD competes on quality — 18-country coverage, deep liquidity, fast channel opens — not on lock-in.
This model mirrors how open-source software with cloud backends works: the tool is free, the infrastructure is the business.
--yes is passed.)Full architecture details: docs/architecture.md
┌─────────────────────────────────────────────────────────┐
│ Integration Layer │ │ │ │ sz CLI MCP Server OpenClaw Skill │ │ (typer) (FastMCP/stdio) (gateway) │ │ │ │ │ │ │ └───────────────┼──────────────────┘ │ │ │ │ │ ┌───────▼───────┐ │ │ │ IPC Client │ (auto-detect daemon) │ │ └───────┬───────┘ │ └──────────────────────┼──────────────────────────────────┘ │ Unix Domain Socket (sz.sock) ┌──────────────────────▼──────────────────────────────────┐ │ Daemon (sz start — foreground, blocks) │ │ │ │ IPC Server (asyncio) ─── Wallet Core │ │ 23 JSON methods node.py, payments.py, l402.py │ │ threading.Lock liquidity.py, keystore.py │ │ 0600 socket perms lqwd.py, config.py, output.py │ │ ipc.py │ └──────────────────────┬──────────────────────────────────┘ │ ┌──────────────────────▼──────────────────────────────────┐ │ LDK Node │ │ - Full Lightning protocol implementation │ │ - Esplora chain sync (LQWD → blockstream → mempool) │ │ - BIP39 key management │ │ - Peer connections and channel state machine │ └──────────────┬────────────────────────┬─────────────────┘ │ │ ┌──────────────▼──────────┐ ┌──────────▼──────────────────┐ │ LQWD Global Nodes │ │ Any Lightning Node │ │ (default — 18 nodes, │ │ (agent can peer with │ │ 18 countries, deep │ │ any public node on the │ │ liquidity, LSPS) │ │ Lightning Network) │ └─────────────────────────┘ └─────────────────────────────┘
The daemon (sz start) owns the LDK node and exposes 23 methods over a Unix Domain Socket at ~/.local/share/saturnzap/ /sz.sock. CLI commands, the MCP server, and OpenClaw automatically detect the daemon and route through IPC — no port conflicts, no database locks. If no daemon is running, commands fall back to starting an ephemeral node.
LDK Node syncs chain data via Esplora (block explorer REST API). No external Bitcoin node is needed. SaturnZap ships with a fallback chain — if the primary Esplora server is unreachable, it automatically probes alternatives (LQWD, blockstream.info, mempool.space) and connects to the first healthy endpoint. First sync takes a few minutes on a fresh install; subsequent starts are near-instant.
On mainnet, fresh installs peer with LQWD-AI-Grid by default — LQWD's agent-focused LSP node that supports LSPS1 and LSPS2 (JIT channels). The node auto-opens a channel back on first peer contact, so a new wallet can start receiving inbound liquidity without needing on-chain funds first. The 18-region geographic fleet is still embedded and available: set SZ_REGION=NEAREST to fall back to timezone-based selection (e.g. LQWD-England from UTC, LQWD-Japan from JST), or SZ_REGION=CA / --region CA to pin a specific region.
After the initial channel, agents use standard Lightning channel open flows to peer with anyone. SaturnZap has no routing logic that artificially prefers LQWD — Lightning pathfinding selects the best route. LQWD nodes appear as attractive routes naturally because of their connectivity and capacity across 18 countries.
All commands are designed for non-interactive execution. No spinners that break pipe parsing. Pass --pretty for human-readable output in a TTY. Default is always clean JSON.
One exception for safety: mainnet spending commands (send, pay, keysend, channels open) show a [y/N] confirmation. Skip it with --yes or SZ_MAINNET_CONFIRM=yes in automation. Signet and testnet never prompt.
SaturnZap monitors channel health. When configured, it automatically opens new channels when outbound liquidity drops below a threshold, and requests inbound liquidity from the configured LSP when needed. Agents can run indefinitely without manual intervention.
| Component | Library | Notes |
|---|---|---|
| Language | Python 3.12 | Type hints throughout |
| Lightning node | ldk-node 0.7.0 | LDK Node Python bindings, Neutrino built-in |
| CLI framework | typer | Clean API, auto-generated help |
| HTTP client | httpx | Used for L402 interceptor |
| Config storage | platformdirs + TOML | OS-appropriate config paths |
| Key encryption | cryptography | Fernet encryption for seed file |
| BIP39 | mnemonic | Seed phrase generation |
| Package manager | uv | Fast, modern Python tooling |
| MCP server | mcp ≥1.26 | Model Context Protocol for AI agent integration |
| Testing | pytest | Unit + integration, 395+ tests |
| Linting | ruff | Fast Python linter and formatter |
Embedded in SaturnZap as trusted default peers. On sz init or sz channels open --lsp lqwd, the nearest node is auto-selected by comparing the system's UTC offset against each node's timezone — smallest offset difference wins. Override with SZ_REGION env var or --region flag. Full pubkeys and connection strings are in src/saturnzap/lqwd.py.
| Alias | Region |
|---|---|
| LQWD-Canada | CA |
| LQWD-Sweden | SE |
| LQWD-France | FR |
| LQWD-England | GB |
| LQWD-Japan | JP |
| LQWD-Australia | AU |
| LQWD-Brazil | BR |
| LQWD-Bahrain | BH |
| LQWD-Singapore | SG |
| LQWD-SouthAfrica | ZA |
| LQWD-HongKong | HK |
| LQWD-SouthKorea | KR |
| LQWD-Indonesia | ID |
| LQWD-Ireland | IE |
| LQWD-Italy | IT |
| LQWD-Germany | DE |
| LQWD-India | IN |
| LQWD-US-West | US |
Full pubkeys and host:port connection strings are in src/saturnzap/lqwd.py. Signet/testnet node details maintained separately for development.
Full JSON API reference: docs/json-api-reference.md
Binary: sz
All comma
只显示了开头部分;其余内容请在仓库中阅读