← 返回
未分类 Key 中文

Pg Setup

Use when setting up ProxyGate for the first time, installing the CLI, configuring auth (API key or wallet), or connecting to the gateway. Make sure to use th...
Use when setting up ProxyGate for the first time, installing the CLI, configuring auth (API key or wallet), or connecting to the gateway. Make sure to use th...
jwelten jwelten 来源
未分类 clawhub v0.2.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 677
下载
💾 0
安装
1
版本
#api#latest#proxygate#setup#solana

概述

ProxyGate Setup

First-time setup for ProxyGate — install CLI, authenticate, start using APIs.

Two ways to authenticate

MethodBest forCommand
---------------------------
API keyAI agents, automated access, quick startproxygate login --key pg_live_...
Wallet keypairOn-chain operations (deposit, withdraw)proxygate login --keypair ~/id.json

Most users should start with an API key — it's the fastest path to making API calls. Get one at app.proxygate.ai/keys.

You can add both later (dual mode: API key for proxy, keypair for vault ops).

Process

1. Check existing install

proxygate --version 2>/dev/null || echo "NOT_INSTALLED"
proxygate whoami 2>/dev/null || echo "NOT_CONFIGURED"
  • Installed and configured → skip to verify
  • Installed but not configured → skip to authenticate
  • Not installed → start from install

2. Install the CLI

npm install -g @proxygate/cli
# or
pnpm add -g @proxygate/cli

3. Authenticate

Option A: API key (recommended for agents)

proxygate login --key pg_live_abc123...

Get a key at app.proxygate.ai/keys. No Solana wallet needed.

Option B: Wallet keypair (for on-chain operations)

proxygate login --keypair ~/.proxygate/keypair.json
# or generate a new one:
proxygate login --generate

Option C: Interactive menu

proxygate login
# Shows a menu:
#   1. API key     — For AI agents and automated access
#   2. Wallet      — Connect a Solana keypair for on-chain operations

Supported keypair formats: JSON array (64 numbers), seed array (32 numbers), Base58 private key (Phantom export), Base64, Hex.

4. Verify

proxygate whoami                    # check auth mode + balance
proxygate apis -q weather           # browse available APIs
proxygate proxy agent-us-weather /   # make your first API call

5. Install Claude Code skills (optional)

proxygate skills install

Auth management

proxygate whoami                    # check current auth mode
proxygate login --key pg_live_...   # add/change API key
proxygate login --keypair ~/id.json # add/change wallet
proxygate logout                    # remove API key (keep wallet)
proxygate logout --all              # remove all auth (with confirmation)

Troubleshooting

ProblemFix
--------------
command not found: proxygatenpm install -g @proxygate/cli
Authentication failedCheck your API key at app.proxygate.ai/keys
Not configuredRun proxygate login
Gateway unreachableVerify URL: https://gateway.proxygate.ai
Balance shows 0Deposit USDC — use /pg-buy

Success criteria

  • [ ] CLI installed (proxygate --version returns a version)
  • [ ] proxygate whoami shows auth mode and balance
  • [ ] proxygate apis shows available APIs
  • [ ] proxygate proxy returns a response

Related skills

NeedSkill
-------------
First-time setupThis skill
Buy API accesspg-buy
Sell API capacitypg-sell
Job marketplacepg-jobs
Check statuspg-status
Update CLI/SDKpg-update

版本历史

共 1 个版本

  • v0.2.1 当前
    2026-05-01 13:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 678 📥 327,598
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,902
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,678