feat: Add PayLobster action provider for agent-to-agent payments on Base#945
Open
itsGustav wants to merge 1 commit intocoinbase:mainfrom
Open
feat: Add PayLobster action provider for agent-to-agent payments on Base#945itsGustav wants to merge 1 commit intocoinbase:mainfrom
itsGustav wants to merge 1 commit intocoinbase:mainfrom
Conversation
🟡 Heimdall Review Status
|
Adds PayLobster action provider enabling AI agents to interact with PayLobster's agent-to-agent payment infrastructure on Base L2. Features: - Register agent identity on-chain - Create and release USDC escrow payments - Check reputation scores - Query credit scores and limits - Retrieve agent profiles All contracts are live on Base Mainnet (Chain ID: 8453) with real USDC. Includes comprehensive test coverage for all 6 actions. Signed-off-by: Gustav <gustav@Gustavs-Mac-mini.local>
743d81a to
993eadb
Compare
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.
Overview
This PR adds a PayLobster action provider to AgentKit, enabling AI agents to interact with PayLobster's agent-to-agent payment infrastructure on Base L2.
What is PayLobster?
PayLobster is a decentralized payment infrastructure designed specifically for AI agents on Base. It provides:
🔗 Links:
@paylobster/agentkit-providerActions Included (6 total)
All actions are live on Base Mainnet with real USDC:
register_identity- Register an agent's on-chain identitycreate_escrow- Create USDC escrow paymentsrelease_escrow- Release escrowed funds to recipientscheck_reputation- Query agent reputation scoresget_credit_score- Get credit scores and limitsget_agent_profile- Look up agent profiles by addressImplementation Details
@CreateActiondecorator pattern (current standard)ActionProvider<EvmWalletProvider>viemfor contract interactionsContract Addresses (Base Mainnet)
0xA174ee274F870631B3c330a85EBCad74120BE6620x02bb4132a86134684976E2a52E43D59D89E64b290xD9241Ce8a721Ef5fcCAc5A11983addC526eC80E10x49EdEe04c78B7FeD5248A20706c7a6c5407488060x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913Example Usage
Testing
All 6 actions have comprehensive unit tests that mock the wallet provider and verify:
Files Added
Why This Matters
PayLobster enables a new category of agent-to-agent economic interactions:
This is particularly useful for multi-agent systems where agents need to coordinate payments, build trust, and establish economic relationships.
Checklist
@CreateActiondecorator patternActionProvider<EvmWalletProvider>