CLASP (@ClaspCKB) header
CLASP (@ClaspCKB) profile picture

Spending limits for apps and AI agents on @NervosNetwork | Overall winner of the Fibre Network Hackathon |Wallet and Payment UX Infrastructure

onchain
Joined September 2025
Photo by CLASP (@ClaspCKB)
CLASP retweeted
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 : useclasp.xyz GitHub Repo: github.com/Enoch208/Clasp 𝑯𝒆𝒓𝒆 π’Šπ’” 𝒂 3 π’Žπ’Šπ’π’–π’•π’† π’—π’Šπ’…π’†π’ π’˜π’‚π’π’Œπ’•π’‰π’“π’π’–π’ˆπ’‰ 𝒐𝒇 π’‰π’π’˜ 𝒕𝒉𝒆 𝒑𝒓𝒐𝒅𝒖𝒄𝒕 π’˜π’π’“π’Œπ’” @ckbsamurai @NervosCatalyst @ckba_build @NervosNation
11
14
1
54
6,433
CLASP retweeted
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: useclasp.xyz/lab SDK: npmjs.com/package/@useclasp/… Quickstart: github.com/Enoch208/Clasp/bl… Code: github.com/Enoch208/Clasp @ckbsamurai @NervosNetwork @NervosCatalyst @ckba_build @NervosNation
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 : useclasp.xyz GitHub Repo: github.com/Enoch208/Clasp 𝑯𝒆𝒓𝒆 π’Šπ’” 𝒂 3 π’Žπ’Šπ’π’–π’•π’† π’—π’Šπ’…π’†π’ π’˜π’‚π’π’Œπ’•π’‰π’“π’π’–π’ˆπ’‰ 𝒐𝒇 π’‰π’π’˜ 𝒕𝒉𝒆 𝒑𝒓𝒐𝒅𝒖𝒄𝒕 π’˜π’π’“π’Œπ’” @ckbsamurai @NervosCatalyst @ckba_build @NervosNation
11
17
1
53
1,270
CLASP retweeted
Spend caps, expiry, and a kill switch are a pretty good starting point for agent payments
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: npmjs.com/package/@useclasp/… Repository: github.com/Enoch208/Clasp Clasp: useclasp.xyz @NervosNetwork @FiberDevs @ckba_build @ckbsamurai @NervosCatalyst
1
1
19
CLASP retweeted
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: npmjs.com/package/@useclasp/… Repository: github.com/Enoch208/Clasp Clasp: useclasp.xyz @NervosNetwork @FiberDevs @ckba_build @ckbsamurai @NervosCatalyst
12
13
2
26
432
CLASP retweeted
Clasp just got a new look gm everyone, we are liveπŸ‘‡πŸ‘‡πŸ˜
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: npmjs.com/package/@useclasp/… Repository: github.com/Enoch208/Clasp Clasp: useclasp.xyz @NervosNetwork @FiberDevs @ckba_build @ckbsamurai @NervosCatalyst
2
4
55