Add Daimo Pay integration for cross-chain deposits#432
Draft
Add Daimo Pay integration for cross-chain deposits#432
Conversation
- Introduced Daimo Pay app ID in the environment configuration for deposit features. - Updated the Next.js configuration to allow connections to the Daimo Pay SDK. - Added a new deposit page with token selection and deposit functionality using Daimo Pay. - Wrapped the application in a DaimoPayProvider for API integration. - Enhanced the navigation bar to include a link to the new deposit page. - Included a new SVG icon for the deposit feature. This integration allows users to deposit funds from various chains into their Celo wallet seamlessly.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Member
📝 Changed routes:
Commit 68ed9ba (https://celo-mondo-ieev6k7so-c-labs.vercel.app). |
- Introduced a new API route to proxy requests to the Daimo Pay API, addressing CORS issues during development. - Updated the deposit page to utilize the new Daimo Pay UI hooks for improved user experience. - Corrected token addresses for better accuracy and compliance with checksum standards. - Enhanced the deposit button functionality to reset payment state on click. These changes streamline the integration of Daimo Pay, allowing for seamless cross-chain deposits while ensuring proper handling of API requests.
- Updated the `next.config.ts` file to include the Daimo Pay SDK URL in the list of allowed image source hosts. This change facilitates the integration of Daimo Pay assets within the application, enhancing the overall user experience for payment functionalities.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


This integration allows users to deposit funds from various chains into their Celo wallet seamlessly.
Please Read and check all that apply
general
If adding delegate
In order to prevent impersonation attacks we ask that the entity to be added as a delegate make a public post either with a link to this pull request or including the same address referenced in the pull request. This post should be on a platform you have already established reputation on. So if you are active on Celo Forum post there or if you have an active Twitter account post there.
Checklist of common mistakes