Skip to content

fix: restrict Miden bridge to priced assets - #13

Merged
Man-Jain merged 1 commit into
mainfrom
codex/miden-supported-assets
Sep 28, 2026
Merged

Man-Jain merged 1 commit into
mainfrom
codex/miden-supported-assets

Conversation

@Abhimanyu121

Copy link
Copy Markdown
Member

Summary

Fixes Miden-to-EVM quote failures caused by the wallet defaulting to an asset without a Pragma price feed.

  • Restrict bridge source assets to USDC, USDT, DAI, WETH, and WBTC.
  • Default to the first supported wallet asset instead of the raw first asset.
  • Explain when unsupported assets are hidden or when no supported asset is available.

Validation

  • Reproduced the failure with native MIDEN and confirmed a USDC quote succeeds.
  • npm run typecheck
  • npm run lint -- --no-cache
  • npm run build

@vercel

vercel Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
miden-integration-example Ready Ready Preview Sep 28, 2026 11:31am UTC

@github-actions

Copy link
Copy Markdown

React Doctor found 1 new issue in 1 file · 1 warning · score 92 / 100 (Great) · 1 fixed · vs main

1 warning

src/components/crosschain/IntentForm.tsx

  • ⚠️ L52 React function has high control-flow complexity no-high-complexity-react-function

Reviewed by React Doctor for commit 002a2b5. See inline comments for fixes.

@Man-Jain
Man-Jain merged commit 82d66f6 into main Sep 28, 2026
4 checks passed
@Man-Jain
Man-Jain deleted the codex/miden-supported-assets branch September 28, 2026 13:07

This branch was successfully deployed

1 active deployment
Preview — 002a2b53 Deployed Sep 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants