Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Non-custodial USDC subscriptions on Stellar: the Soroban contract, the @web-soroban/payloop SDK, and a merchant example.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Non-custodial USDC subscriptions on Stellar. A subscriber signs one policy (merchant, amount, interval, and a cap on the total) from their own wallet. The first charge settles in the same transaction; a relayer submits each later charge when it is due. Funds stay in the subscriber's wallet until then, and the subscriber can pause, resume, or revoke at any time.
| Path | What it is |
|---|---|
contract/ | The Soroban contract (Rust, soroban-sdk 29), its tests, deployment manifests, and security review |
sdk/ | @web-soroban/payloop: build, sign, and track policies from any wallet |
examples/merchant/ | An Express server that unlocks content for active subscribers |
| Network | Contract | Token |
|---|---|---|
| Testnet | CCNMZWP2NQMTJF2J42W4DNYNOAQQYWOCJ2IQROXWYSJVOI3DKSH7YRIH | Circle test USDC |
| Mainnet | CDQ6I65CP3JHLNGMEHWE4BP2OMLWOUMZ77U53JPAURFZPZBVH6PYEXPN | Circle USDC |
Both run the same build (wasm d42be154c35ac597792f41d83ccf1d70abd29edebdec135a44ce31fd78a19318).
Mainnet status: the contract has had an internal security review, and every finding is fixed or documented in
contract/AUDIT.md. It has not been independently audited. Start with small amounts.
| Call | Signer | Effect |
|---|---|---|
create_policy | subscriber | Grants the USDC allowance and takes the first charge. Any failure reverts everything. |
charge | anyone | Takes a charge once it is due. Recipient, amount, schedule, and cap are fixed by the policy. |
pause / resume | subscriber | Stops and restarts charges. Missed periods are never back-billed. |
revoke | subscriber | Ends the policy. Final. |
cancel | merchant | Ends the policy from the merchant side. Final. |
refresh_allowance | subscriber | Renews or trims the allowance to what live policies may still charge. |
The contract never holds funds, has no admin, and cannot be upgraded. WebSoroban runs the relayer and an indexer, so a merchant runs no chain infrastructure.
Subscribe from a browser wallet:
npm install @web-soroban/payloop @stellar/stellar-sdk
import { createPayLoopClient } from '@web-soroban/payloop'
const payloop = createPayLoopClient({ network: 'mainnet', rpcUrl: 'https://your-mainnet-rpc' })
await payloop.send(
() => payloop.buildCreatePolicy({
subscriber, merchant, amount: '9.99', intervalSeconds: 30 * 86_400, cap: '119.88',
}),
(xdr) => signWithWallet(xdr),
)
Gate access on a server:
const plan = await payloop.activeSubscription({
subscriber, merchant, amount: '9.99', intervalSeconds: 30 * 86_400,
})
Or try it without code at payloop.websoroban.in.
cd contract && cargo test && stellar contract build # stellar-cli 25.2+
cd sdk && npm install && npm test
To check a deployment, run shasum -a 256 target/wasm32v1-none/release/payloop.wasm
in contract/ and compare the result with deployments/<network>.json.
MIT