·create-typescript-x402-server
</>

create-typescript-x402-server

使用 Express.js 和 Hono 建立 x402 付款保護伺服器。在建置返回 402 Payment required 的資源伺服器、設定支付中間件、配置受保護的路由、實現多網路支援 (AVM+EVM+SVM)、整合付費專區 UI、建置服務商伺服器或實現動態定價時使用。強觸發器包括「建立 x402 伺服器」、「向 Express 新增付款中間件」、「使用 x402 保護路由」、「設定支付門控 API」、「hono 支付中間件」、「402 支付所需伺服器」、「x402 Express 伺服器」、「x402 hono 伺服器」、「抽象伺服器」費用、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器服務」、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器服務」、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器服務」、「抽象伺服器」、「x402 hono 伺服器」、「抽象化伺服器費用」、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器服務」、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器」費用、「抽象伺服器」、「x402 hono 伺服器」、「建構服務商」、「抽象化伺服器費用」、「x402 hono 伺服器」、「抽象伺服器」費用、「抽象伺服器」、「x402 hono 伺服器」、「抽象化伺服器費用」。

3安裝·0熱度·@algorand-devrel

安裝

$npx skills add https://github.com/algorand-devrel/algorand-agent-skills --skill create-typescript-x402-server

如何安裝 create-typescript-x402-server

透過命令列快速安裝 create-typescript-x402-server AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/algorand-devrel/algorand-agent-skills --skill create-typescript-x402-server
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:algorand-devrel/algorand-agent-skills。

SKILL.md

查看原文

Build TypeScript servers that gate API endpoints behind Algorand (AVM) payments using Express.js or Hono middleware.

The server middleware intercepts requests to protected routes, checks for a valid X-PAYMENT header, and either returns 402 (pay first) or passes through to the route handler (payment verified).

There are three middleware variants, from simplest to most configurable:

使用 Express.js 和 Hono 建立 x402 付款保護伺服器。在建置返回 402 Payment required 的資源伺服器、設定支付中間件、配置受保護的路由、實現多網路支援 (AVM+EVM+SVM)、整合付費專區 UI、建置服務商伺服器或實現動態定價時使用。強觸發器包括「建立 x402 伺服器」、「向 Express 新增付款中間件」、「使用 x402 保護路由」、「設定支付門控 API」、「hono 支付中間件」、「402 支付所需伺服器」、「x402 Express 伺服器」、「x402 hono 伺服器」、「抽象伺服器」費用、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器服務」、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器服務」、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器服務」、「抽象伺服器」、「x402 hono 伺服器」、「抽象化伺服器費用」、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器服務」、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器」費用、「抽象伺服器」、「x402 hono 伺服器」、「建構服務商」、「抽象化伺服器費用」、「x402 hono 伺服器」、「抽象伺服器」費用、「抽象伺服器」、「x402 hono 伺服器」、「抽象化伺服器費用」。 來源:algorand-devrel/algorand-agent-skills。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/algorand-devrel/algorand-agent-skills --skill create-typescript-x402-server
分類
</>開發工具
認證
收錄時間
2026-02-25
更新時間
2026-03-10

Browse more skills from algorand-devrel/algorand-agent-skills

快速解答

什麼是 create-typescript-x402-server?

使用 Express.js 和 Hono 建立 x402 付款保護伺服器。在建置返回 402 Payment required 的資源伺服器、設定支付中間件、配置受保護的路由、實現多網路支援 (AVM+EVM+SVM)、整合付費專區 UI、建置服務商伺服器或實現動態定價時使用。強觸發器包括「建立 x402 伺服器」、「向 Express 新增付款中間件」、「使用 x402 保護路由」、「設定支付門控 API」、「hono 支付中間件」、「402 支付所需伺服器」、「x402 Express 伺服器」、「x402 hono 伺服器」、「抽象伺服器」費用、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器服務」、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器服務」、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器服務」、「抽象伺服器」、「x402 hono 伺服器」、「抽象化伺服器費用」、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器服務」、「抽象伺服器」、「x402 hono 伺服器」、「抽象伺服器」費用、「抽象伺服器」、「x402 hono 伺服器」、「建構服務商」、「抽象化伺服器費用」、「x402 hono 伺服器」、「抽象伺服器」費用、「抽象伺服器」、「x402 hono 伺服器」、「抽象化伺服器費用」。 來源:algorand-devrel/algorand-agent-skills。

如何安裝 create-typescript-x402-server?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/algorand-devrel/algorand-agent-skills --skill create-typescript-x402-server 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/algorand-devrel/algorand-agent-skills