Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Charge for any HTTP endpoint in USDC on Stellar with x402: the @web-soroban/pay SDK and a runnable example.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Charge for any HTTP endpoint in USDC on Stellar, using the
x402 protocol. A client calls your route, gets
402 Payment Required, signs one USDC authorization in a Stellar wallet, and
retries. The payment settles on Stellar and your handler runs.
Settlement goes through WebSoroban's managed facilitator (OpenZeppelin Channels), which also pays the network fee. Testnet and mainnet are both live.
| Path | What it is |
|---|---|
sdk/ | @web-soroban/pay: Express middleware, preflight checks, webhook verification |
examples/paid-api/ | A runnable Express + TypeScript API priced at $0.01 per request |
npm install @web-soroban/pay @x402/core @x402/express @x402/stellar express
import express from 'express'
import { createWebSorobanPay } from '@web-soroban/pay'
const app = express()
const pay = createWebSorobanPay({
apiUrl: 'https://backend-ide-production-003a.up.railway.app/api',
apiKey: process.env.WEBSOROBAN_PAY_KEY, // wsp_test_… or wsp_live_…
endpointId: process.env.WEBSOROBAN_ENDPOINT_ID!,
payTo: process.env.STELLAR_PAY_TO!,
})
app.use(pay.protect('GET /brief', '$0.01'))
app.get('/brief', (_req, res) => res.json({ brief: 'Paid content.' }))
app.listen(8787)
curl -i localhost:8787/brief returns 402 with a
PAYMENT-REQUIRED header. Pay from the hosted checkout, any x402 client, or
pnpm pay in the example.The key's prefix sets the network: wsp_test_ for testnet, wsp_live_ for
mainnet. A testnet key can never guard a mainnet route.
| Testnet | Mainnet | |
|---|---|---|
| CAIP-2 | stellar:testnet | stellar:pubnet |
| USDC issuer | GBBD47IF…LFLA5 | GA5ZSEJY…KZVN (Circle) |
| Endpoint key | wsp_test_… | wsp_live_… |
Wallets that can sign the authorization: Freighter (extension), Hana, HOT, Klever, Albedo, and OneKey. Freighter Mobile cannot.
cd sdk
npm install
npm test
npm run build
MIT