Codync
免費、開源的 1:1 替代方案,取代 Grok Bot 與 Muse。從 iPhone、Mac 或 Linux 桌面將 Claude Code、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