We rebuilt CLASP.
It lets apps and AI agents pay from your Fiber wallet without ever holding your keys. You set the limits and big payments wait for you. One tap cuts the app off.
It's live on Fiber testnet, and the video is a real run on the live site.
Today an app needs your keys or a permanent RPC credential to pay from your wallet, clasp gives it a session instead. You lower the spend cap and the clock, then approve. Every payment runs 10 checks, and anything over your "ask me first" amount waits for your OK.
Try to break it. The Security Lab fires six attacks at the real engine: overspending, replays, a stolen token and more. Each one is refused with a code that says why, you revoke a session and every request after it fails, even a read.
For developers, the SDK is on npm and the code is open source:
https://t.co/plx6vYJSax
Repository: https://t.co/aaBqwNyewS
Clasp: https://t.co/qSAfsM30rZ
@NervosNetwork@FiberDevs@ckba_build@ckbsamurai@NervosCatalyst
Fiber apps currently need a node’s RPC URL and payment wallet credentials to make payments. That gives apps broad , unlimited access with no standard way to set permissions, spending limits , expiry dates, or revoke access.
𝐂𝐋𝐀𝐒𝐏 adds that missing security layer, it’s a secure session and permission layer @NervosNetwork built for Fiber Network, CKB’s payment-channel network. It lets apps make Fiber payments without receiving full or permanent wallet access.
Here is how it works:
𝐏𝐀𝐈𝐑 → 𝐑𝐄𝐕𝐈𝐄𝐖 → 𝐀𝐏𝐏𝐑𝐎𝐕𝐄 → 𝐏𝐀𝐘 → 𝐁𝐋𝐎𝐂𝐊 → 𝐑𝐄𝐕𝐎𝐊𝐄
𝐏𝐀𝐈𝐑 : An app requests specific permissions and spending limits. Wallet credentials never leave the wallet.
𝐑𝐄𝐕𝐈𝐄𝐖: The user can reduce permissions, limits, and session duration.
𝐀𝐏𝐏𝐑𝐎𝐕𝐄: The wallet signs a session token containing only what the user approved.
𝐏𝐀𝐘: Every request passes a 10-step policy check before a real Fiber payment is made.
𝐁𝐋𝐎𝐂𝐊: Invalid or malicious requests are stopped with clear errors such as `permission_denied`, `replay_detected`, and `origin_mismatch`.
𝐑𝐄𝐕𝐎𝐊𝐄: One tap disables the session, and all future requests fail.
Clasp is not mocked. The hosted deployment runs separate payer and merchant Fiber nodes connected through a funded channel.
A payment was completed through the live interface and verified on the node with `get_payment → Success`.
The deployment is live, and every claim is checkable, try it out
Clasp Product : https://t.co/kboGQMMh6C
GitHub Repo: https://t.co/UagyOuBvty
𝑯𝒆𝒓𝒆 𝒊𝒔 𝒂 3 𝒎𝒊𝒏𝒖𝒕𝒆 𝒗𝒊𝒅𝒆𝒐 𝒘𝒂𝒍𝒌𝒕𝒉𝒓𝒐𝒖𝒈𝒉 𝒐𝒇 𝒉𝒐𝒘 𝒕𝒉𝒆 𝒑𝒓𝒐𝒅𝒖𝒄𝒕 𝒘𝒐𝒓𝒌𝒔
@ckbsamurai@NervosCatalyst@ckba_build@NervosNation
Last week I had an AMA with the @NervosNetwork community on Reddit, where I answered questions on the Clasp product and the next steps. One of the questions stood out: how can an AI agent pay for things on its own without spending too much?
Two answers are now built into Clasp’s Fiber wallet sessions:
𝐀𝐬𝐤 𝐛𝐞𝐟𝐨𝐫𝐞 𝐩𝐚𝐲𝐢𝐧𝐠 𝐨𝐯𝐞𝐫 𝐗: . When you approve an app or agent, you set a threshold. A payment above it is reserved and held, and only a decision signed by your owner key releases it. In the Security Lab you can make the agent approve its own payment. It gets invalid_signature.
𝐑𝐚𝐭𝐞 𝐂𝐚𝐩𝐬: You choose how many payments go through per minute. The cap is checked in the same atomic transaction as the spend limit, so a burst of parallel requests gets exactly the cap through, and the rest are told how long to wait. Sub-agents share their parent’s cap.
Building this exposed a gap: our server would create a session with whatever limits it was sent. Now a session only exists if the owner’s key signed the approval, and only that key can release a held payment.
You can install it now. The SDK is on npm with React bindings, and docker compose up runs your own wallet core behind a keyless relay. The quickstart goes from zero to an agent whose big payment is held, approved and settled.
Before shipping we ran an adversarial review. It found real bugs, like an approval that didn’t bind to the payment amount. All are fixed, each with a test that fails without the fix. Tests went from 122 to 178.
Try to break it: https://t.co/A6Zv4O7SIn
SDK: https://t.co/XcVFM7hztJ
Quickstart: https://t.co/lH0E380G1r
Code: https://t.co/UagyOuBvty
@ckbsamurai@NervosNetwork@NervosCatalyst@ckba_build@NervosNation
We rebuilt CLASP.
It lets apps and AI agents pay from your Fiber wallet without ever holding your keys. You set the limits and big payments wait for you. One tap cuts the app off.
It's live on Fiber testnet, and the video is a real run on the live site.
Today an app needs your keys or a permanent RPC credential to pay from your wallet, clasp gives it a session instead. You lower the spend cap and the clock, then approve. Every payment runs 10 checks, and anything over your "ask me first" amount waits for your OK.
Try to break it. The Security Lab fires six attacks at the real engine: overspending, replays, a stolen token and more. Each one is refused with a code that says why, you revoke a session and every request after it fails, even a read.
For developers, the SDK is on npm and the code is open source:
https://t.co/plx6vYJSax
Repository: https://t.co/aaBqwNyewS
Clasp: https://t.co/qSAfsM30rZ
@NervosNetwork@FiberDevs@ckba_build@ckbsamurai@NervosCatalyst
We rebuilt CLASP.
It lets apps and AI agents pay from your Fiber wallet without ever holding your keys. You set the limits and big payments wait for you. One tap cuts the app off.
It's live on Fiber testnet, and the video is a real run on the live site.
Today an app needs your keys or a permanent RPC credential to pay from your wallet, clasp gives it a session instead. You lower the spend cap and the clock, then approve. Every payment runs 10 checks, and anything over your "ask me first" amount waits for your OK.
Try to break it. The Security Lab fires six attacks at the real engine: overspending, replays, a stolen token and more. Each one is refused with a code that says why, you revoke a session and every request after it fails, even a read.
For developers, the SDK is on npm and the code is open source:
https://t.co/plx6vYJSax
Repository: https://t.co/aaBqwNyewS
Clasp: https://t.co/qSAfsM30rZ
@NervosNetwork@FiberDevs@ckba_build@ckbsamurai@NervosCatalyst