Skip to content

docs: proposal — AAStar relay service (drop deployer private key, bill aPNTs)#405

Merged
jhfnetboy merged 1 commit into
masterfrom
docs/relay-service-proposal
Jul 2, 2026
Merged

docs: proposal — AAStar relay service (drop deployer private key, bill aPNTs)#405
jhfnetboy merged 1 commit into
masterfrom
docs/relay-service-proposal

Conversation

@jhfnetboy

Copy link
Copy Markdown
Member

Analysis + proposal for your KMS-relay question: remove the app-side DEPLOYER_PRIVATE_KEY and move account-deploy to an AAStar-operated relay service (API URL) — API-key auth (same model as KMS/bundler), billed in aPNTs, with first-deploy-sponsored / online-payment auto-provision (admin) / community-sponsor options for the aPNTs chicken-and-egg. Phased rollout matching the beta plan; open questions for the KMS/SuperRelay/SuperPaymaster teams. Also answers the config-page ask (extend app/settings; hold endpoints + API key only, never private keys). See docs/RELAY_SERVICE_PROPOSAL.md. No code changes.

…rvice

Analyze the DEPLOYER_PRIVATE_KEY problem (users don't have keys; operators won't embed one;
blocks zero-backend) and propose an AAStar-operated relay endpoint (extend SuperRelay /
relay.aastar.io) that deploys passkey accounts on the user's behalf: API-key auth (same
model as KMS/bundler), billed in aPNTs, with first-deploy-sponsored / online-payment
auto-provision / community-sponsor options for the aPNTs chicken-and-egg. Phased rollout
matching the beta plan; open questions for the KMS/SuperRelay/SuperPaymaster teams. Also
answers the config-page ask (extend app/settings; endpoints+API-key only, never keys).
@jhfnetboy jhfnetboy requested a review from fanhousanbu as a code owner July 2, 2026 03:59
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@clestons clestons left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: #405 — docs: relay service proposal

纯文档 PR,无代码变更。

提案质量评估:

  • 问题诊断准确DEPLOYER_PRIVATE_KEY 是账户创建路径上阻塞 zero-backend 的最后一个 server-only secret,与 KMS/bundler 已走 API-key 模型形成对比 ✓
  • Relay-as-a-Service 方案合理:deployer key 留在 AAStar infra,app 侧改为 POST RELAY_URL,无私钥泄露面 ✓
  • Chicken-and-egg 三选项(A 首次免费 / B 在线付款 / C 社区赞助)覆盖消费者 / 付费 / 社区三个场景,A 推荐为默认合理 ✓
  • Config page 边界正确:只存 endpoints + user API key,绝不存私钥;现有 app/kms-api server secret 通过 relay 消除,而非搬进 UI ✓
  • Open questions 指向了真正待确认的技术点:SuperRelay deploy-account 能力、off-UserOp aPNTs debit 会计支持、API-key 在账户创建前的认证 + 额度防滥用 ✓
  • 分阶段落地与 beta 计划对齐,不改变当前 beta 的 DEPLOYER_PRIVATE_KEY 路径 ✓

无问题项。

APPROVE

轮次 执行者 裁决
R1 Sonnet 4.6 APPROVE(纯文档,提案完整)

@jhfnetboy jhfnetboy merged commit 457fb91 into master Jul 2, 2026
14 checks passed
@jhfnetboy jhfnetboy deleted the docs/relay-service-proposal branch July 2, 2026 04:06
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants