Skip to content

feat: add bridge command for cross-chain transfers#63

Merged
blakecduncan merged 1 commit intoreleasefrom
blake/bridge-command
Apr 13, 2026
Merged

feat: add bridge command for cross-chain transfers#63
blakecduncan merged 1 commit intoreleasefrom
blake/bridge-command

Conversation

@blakecduncan
Copy link
Copy Markdown

@blakecduncan blakecduncan commented Apr 13, 2026

Summary

  • add alchemy bridge quote and alchemy bridge execute for cross-chain transfers using requestQuoteV0 with toChainId
  • validate source and destination networks, clarify bridge help text, and resolve destination token metadata on --to-network
  • add bridge tests covering quote, execute, raw calls, paymaster permits, slippage validation, and same-network rejection

Test plan

  • pnpm vitest run tests/commands/bridge.test.ts tests/commands/swap.test.ts
  • pnpm lint
  • Optional manual execute test with funded wallets on supported mainnets

Bridging eth from Arb to Base

Screenshot 2026-04-13 at 10 29 46 AM

Made with Cursor

Add bridge quote and execute commands with destination network validation and cross-chain token metadata resolution so developers can safely preview and submit native or ERC-20 bridges.

Made-with: Cursor
@blakecduncan blakecduncan requested a review from a team as a code owner April 13, 2026 14:37
@blakecduncan blakecduncan merged commit c6df2d8 into release Apr 13, 2026
9 checks passed
@blakecduncan blakecduncan deleted the blake/bridge-command branch April 13, 2026 15:59
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