Skip to content

[Feature]:Support for Multi-Asset Payment Requirements #290

@Prateekiiitg56

Description

@Prateekiiitg56

In bindu/penguin/bindufy.py, the execution_cost configuration only allows for a single amount and token.

The Request: The X402 protocol and the X402Middleware are designed to handle a list of PaymentRequirements. The bindufy decorator should be updated to accept a list of costs (e.g., "0.1 USDC on Base OR 0.0001 ETH on Mainnet").

Proposed Solution: Update the execution_cost schema in ConfigValidator to accept either a single dictionary or a list of dictionaries, allowing agents to offer flexible payment options to callers.

@raahulrahl Assign this to me

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions