Skip to content

feat: implement payment destination page, wip#209

Draft
bassgeta wants to merge 1 commit intomainfrom
03_05-feat-payment-destinations
Draft

feat: implement payment destination page, wip#209
bassgeta wants to merge 1 commit intomainfrom
03_05-feat-payment-destinations

Conversation

@bassgeta
Copy link
Contributor

@bassgeta bassgeta commented Feb 5, 2026

TL;DR

Added a new payment destination page with chain and currency selection functionality.

What changed?

  • Created a new payment-destination page that allows users to connect their wallet and select payment details
  • Implemented a reusable ChainCurrencySelector component that fetches and displays available tokens for a selected blockchain
  • Added a mapping from chain IDs to network names in the constants file
  • Created a new TRPC endpoint getCurrenciesByNetwork to fetch currencies for a specific network

How to test?

  1. Navigate to the payment destination page
  2. Connect your wallet using the "Connect Wallet" button
  3. Select a blockchain from the dropdown menu
  4. Verify that tokens load for the selected chain
  5. Select a token and click "Submit" to see the form data in the console

Why make this change?

This change provides users with a dedicated interface to specify their payment destination details, including blockchain network and token preferences. The implementation leverages the existing API to fetch available currencies for each network, ensuring users can only select valid payment options.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 5, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 03_05-feat-payment-destinations

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor Author

bassgeta commented Feb 5, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

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.

1 participant