Skip to content

feat: required assets button#423

Merged
matthewwalsh0 merged 4 commits intomainfrom
feat/required-assets
Feb 4, 2026
Merged

feat: required assets button#423
matthewwalsh0 merged 4 commits intomainfrom
feat/required-assets

Conversation

@matthewwalsh0
Copy link
Member

@matthewwalsh0 matthewwalsh0 commented Feb 3, 2026

Summary

Add a new Send Calls - Required Assets button to the EIP-5792 send calls section for testing the auxiliaryFunds.requiredAssets capability.

Changes

  • Add new button that sends a wallet_sendCalls request with the requiredAssets capability.
  • Button is only enabled when connected to chains with a USDC token.
  • Request includes 0.1 USDC as a required asset.

Screenshot

Button

Note

Low Risk
Low risk UI/test harness change that only adds a new wallet_sendCalls request variant and minor enable/disable logic; no backend or security-sensitive logic is modified.

Overview
Adds a new “Send Calls - Required Assets” button in the EIP-5792 sendCalls UI that submits wallet_sendCalls with capabilities.auxiliaryFunds.requiredAssets, requesting 0.1 USDC (chain-specific address) as an ERC-20 required asset.

Introduces a per-chain USDC address map, updates USDC-related approval calls to explicitly target mainnet USDC, and refactors submitRequest to optionally attach calls and capabilities params while enabling/disabling the new button based on connection and supported chain.

Written by Cursor Bugbot for commit 1cb492c. This will update automatically on new commits. Configure here.

@matthewwalsh0 matthewwalsh0 changed the title Add Send Calls - Required Assets button feat: required assets button Feb 3, 2026
@matthewwalsh0 matthewwalsh0 marked this pull request as ready for review February 3, 2026 20:36
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

@matthewwalsh0 matthewwalsh0 merged commit 743da54 into main Feb 4, 2026
9 checks passed
@matthewwalsh0 matthewwalsh0 deleted the feat/required-assets branch February 4, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants