Add PaySpawn skill — on-chain spending limits for agent wallets#186
Open
adambrainai wants to merge 1 commit intoBankrBot:mainfrom
Open
Add PaySpawn skill — on-chain spending limits for agent wallets#186adambrainai wants to merge 1 commit intoBankrBot:mainfrom
adambrainai wants to merge 1 commit intoBankrBot:mainfrom
Conversation
PaySpawn adds contract-enforced spending controls on top of any agent wallet (including Bankr). Daily cap + per-tx limit enforced by V5.3 contract on Base. No API to bypass. Prevents prompt injection drains like the Lobstar incident. - Works alongside Bankr wallet (funding layer stays, PaySpawn is the cap layer) - Fleet mode: one pool, multiple agents, each with its own daily limit - Kill switch: ps.agent.pause() kills all payments instantly, on-chain - npm: @payspawn/sdk v5.3+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PaySpawn — Contract-Enforced Spending Controls
PaySpawn adds the spending control layer that Bankr agents are currently missing. Your Bankr wallet holds the funds; PaySpawn's V5.3 contract on Base controls how much any agent can move.
What it does
ps.agent.pause()stops all payments instantly, on-chainWhy it matters
This is the gap that caused the $270k Lobstar drain — software limits failed, on-chain limits wouldn't have. Works alongside any agent wallet including Bankr. One dashboard visit to create a credential, then the agent runs autonomously within hard contract limits.
Skill details
@payspawn/sdkv5.3+0xaa8e6815b0E8a3006DEe0c3171Cf9CA165fd862e(verified)Tested with real on-chain transactions. All demo txs verifiable on Basescan.