微算力 · API 导航与自营网关
API 接入 EN
未登录登录
⚡

钱包即身份,按次付费用 AI

Solanaprox · v2.0.0
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
效率 安全 B 级 作者 unixlamadev-spec 公开目录收录
1.1k 下载 0 安装 4k 收藏 12 浏览

简介

通过 Solana 钱包实现无 API Key 的 AI 模型按需付费访问,支持 Claude/GPT 模型,适合追求去中心化身份与灵活计费的用户。

原始描述

Pay-per-request AI model access via Solana/USDC using a Phantom wallet address. Query Claude and GPT models without API keys. Wallet-native authentication wi...

通过你的 Agent 添加

安装目录:solanaprox/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/solanaprox/
Codex CLI~/.codex/skills/solanaprox/
DeepSeek Harness~/.agents/skills/solanaprox/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

SolanaProx 是一种钱包原生身份认证的 AI 代理服务,用户仅需配置 Phantom 钱包地址即可调用 Claude 和 GPT 模型,无需管理传统 API Key。

典型使用流程:

  1. 设置 SOLANA_WALLET 环境变量(仅公钥地址)
  2. 检查 USDC/SOL 余额(低于 $0.01 时预警)
  3. 选择模型(默认 Claude Sonnet $0.003/次,或指定 GPT-4 Turbo $0.008/次)
  4. 发送请求并提取纯文本响应

关键特性:

  • Pay-per-request:按次计费,无订阅负担
  • 实时余额检测:链上余额自动同步
  • AIProx 生态集成:支持自主代理注册与发现,可构建无人工干预的 AI 支付闭环

显著优点

维度 优势
身份管理 钱包即身份,消除密钥泄露风险
成本透明 固定单价,无隐藏费用
自动化友好 原生支持 MCP 协议,易集成至代理工作流
多模型路由 统一接口访问 Anthropic/OpenAI 模型
生态扩展 可注册至 AIProx 代理市场,实现服务货币化

潜在缺点与局限性

  1. 第三方代理信任假设:所有请求流经 solanaprox.com,提示词与响应内容对代理可见
  2. 链上依赖性:需 Phantom 钱包及 Solana 网络状态,Gas 波动可能影响小额支付体验
  3. 功能边界:仅支持文本生成,无多模态、函数调用等高级能力
  4. 退款机制不明:文档未说明调用失败或质量异常时的资金处理

适合人群

  • AI 代理开发者:需要无状态、可自动支付的模型推理后端
  • Web3 原生用户:偏好钱包身份而非传统账户体系
  • 低频使用者:按需付费优于月付订阅的场景
  • 实验性项目:快速验证 AI 集成而无需申请 API Key

常规风险

风险类型 说明 缓解建议
代理劫持 solanaprox.com 域名被篡改或证书泄露 自行校验 TLS 证书,敏感场景避免使用
余额耗尽 自动化调用导致资金快速消耗 设置预算上限,定期监控余额
响应篡改 中间人修改模型输出 关键决策不依赖单一代理输出
隐私暴露 提示词内容被代理日志记录 避免输入个人身份信息或商业机密

技能正文


name: solanaprox description: Pay-per-request AI model access via Solana/USDC using a Phantom wallet address. Query Claude and GPT models without API keys. Wallet-native authentication with real-time deposit detection. metadata: clawdbot: emoji: "⚡" homepage: https://github.com/solanaprox/mcp-server requires: env: - SOLANA_WALLET

SolanaProx — AI Access via Solana

SolanaProx provides AI model access using a Phantom wallet address as authentication.

It is designed for agents and developers that want:

  • No API key management or secret storage
  • Wallet-native authentication — your address is your identity
  • Pay-per-request pricing in USDC or SOL
  • Stateless execution with real-time balance detection
  • Unified routing across Claude and GPT models

Autonomous Agent Demo

SolanaProx is part of the AIProx ecosystem — an open registry where autonomous agents discover and pay each other.

Watch an AI agent pay for its own intelligence: https://github.com/unixlamadev-spec/autonomous-agent-demo

The agent generates a wallet, queries the AIProx registry, finds SolanaProx at $0.003/call, pays autonomously in USDC, and gets an AI response. No human in the loop after funding.

When to Use

Use SolanaProx when the user requests it, or when SOLANA_WALLET is configured and the user wants to make an AI model call paid via Solana/USDC.

Usage Flow

When making an AI request via SolanaProx:

  1. Check that SOLANA_WALLET is set
  2. Select the appropriate model for the task
  3. Check balance if last check was not recent
  4. Warn the user if balance is under $0.01 USDC before execution
  5. Extract and return clean text output only — never raw JSON

Budget Awareness

Before making AI calls:

  • If balance is unknown, check /api/balance/$SOLANA_WALLET first
  • If balance is below $0.01 USDC, warn the user to deposit
  • Never make a request that would exceed remaining balance
  • If wallet has zero balance, guide user to deposit at solanaprox.com

Model Selection Strategy

Use the lowest-cost sufficient model:

  • claude-sonnet-4-20250514 (~$0.003) — default for most tasks
  • gpt-4-turbo (~$0.008) — only when user explicitly requests GPT

Trust Statement

This skill routes requests through https://solanaprox.com, a third-party proxy. All prompts and responses pass through this proxy to upstream model providers (Anthropic, OpenAI). Users should evaluate their own trust requirements before use. The wallet address is sent as an HTTP header — no private keys or seed phrases are required or transmitted.

Security Manifest

  • Environment variables accessed: SOLANA_WALLET (only)
  • External endpoints called: https://solanaprox.com/ (only)
  • Local files read: none
  • Local files written: none
  • Private keys: never accessed, never required

Check Balance

curl -s "https://solanaprox.com/api/balance/$SOLANA_WALLET"

Make AI Request

curl -s -X POST "https://solanaprox.com/v1/messages" \
  -H "Content-Type: application/json" \
  -H "X-Wallet-Address: $SOLANA_WALLET" \
  -d '{
    "model": "claude-sonnet-4-20250514",
    "max_tokens": 4096,
    "messages": [{"role": "user", "content": "USER_PROMPT_HERE"}]
  }'

Response extraction:

  • Claude: response.content[0].text
  • GPT: response.choices[0].message.content

Discover Models

curl -s "https://solanaprox.com/api/capabilities"

Deposit Flow

When balance is low, instruct the user:

  1. Visit solanaprox.com and connect Phantom wallet
  2. Scan QR code with Phantom mobile or copy deposit address
  3. Send USDC or SOL — minimum $1 recommended
  4. Balance updates automatically in real time

MCP Server

npx solanaprox-mcp

npm: https://npmjs.com/package/solanaprox-mcp

Register Your Agent in AIProx

SolanaProx is discoverable via the AIProx open agent registry. To register your own agent:

curl -X POST https://aiprox.dev/api/agents/register -H "Content-Type: application/json" -d '{"name":"your-agent","capability":"ai-inference","rail":"solana-usdc","endpoint":"https://your-agent.com","price_per_call":3,"price_unit":"usd-cents"}'

Or use the web form: https://aiprox.dev/registry.html

Part of the AIProx Ecosystem

Examples

  • "Ask Claude through SolanaProx what the capital of France is"
  • "Check my SolanaProx balance"
  • "What models does SolanaProx offer?"
  • "My SolanaProx balance is zero" → walk through deposit flow

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

aisolanaweb3claudegptmcppay-per-usedecentralized-identity

同类 Skill