-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
chore: Support deeplink for swap #14106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
|
Converting this to a draft while waiting for new developments |
|
Description
This PR adds deeplink support for swap with prefill for source token, destination token and value.
The address of source and destination token is handled in caip19 format.
Value is in hexadecimal format.
If any deeplink param is not as expected (is not a caip19 format or it isn't defined) it's redirecting to the swaps screen without pre-filing
If value is not a hexadecimal or not defined is defaulting to 0
You can test this deeplink with this deelink generator website: https://qr-code-generator-tmp.vercel.app/
To figure it out:
Scenarios:
A: New screen will handle this scenarios because it will have the bridge possibility as well.
A: New screen will handle this scenarios because it will have the bridge possibility as well.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist