Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Tooling: add a merchant guide from one tested spec (live payment, verbatim doc check, video)

未关闭
#25 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
blockchain, node.js, typescript
领域
tooling

调研方向

Start by inspecting the existing merchant guides in docs/integrations/ and how the site publishes them; the issue says the current scripts are outside the repository. Define the spec.json format and add scripts/merchant-guide/run.mjs, gen.mjs, and verify.mjs for the stated payment, generation, and verification steps. Done means regenerating an existing guide such as Pinata produces the same file and verification fails when a snippet does not run.

由索引模型根据 Issue 内容生成。

描述

documentation enhancement

Why

On 2026-10-07 we published 12 merchant guides (docs/integrations/*.md). Each was produced from one spec: a live payment with the SDK, the same 402 refused for another payee with zero signatures, the guide's code run verbatim from npm, and the MCP entry loaded by the real MCP server. The scripts live outside the repo, so contributors can't add a merchant the same way.

What

scripts/merchant-guide/:

  • spec.json format (origin, payTo, url, method, body, maxPerTx, pricePin, optional timeoutMax);
  • run.mjs: payment + injection check (needs PAYER_KEY with a few cents on Base);
  • gen.mjs: writes docs/integrations/<NAME>.md;
  • verify.mjs: runs the guide's ts blocks from published npm packages and loads the MCP entry over stdio.

The site already publishes every docs/integrations/*.md automatically.

Acceptance

Re-generating an existing guide (e.g. Pinata) from its spec produces the same file; the verify step fails if a snippet doesn't run.

主要语言
TypeScript
星标
0
派生
0
平均合并
3 小时 51 分钟
30 天内合并 PR
3

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DeepFirstHQ/deepfirstsearch 的其他 Issue

查看 DeepFirstHQ/deepfirstsearch 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。