
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
- Tweets13
- Following7
- Followers64
- Likes109
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
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
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
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
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



