Repository navigation
feat: 支持在移动端用链接跳转的方式链接钱包 - #1364
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 7076b91 The changes in this PR will be included in the next version bump. This PR includes changesets to release 15 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Removed dependencies detected. Learn more about Socket for GitHub ↗︎ |
gin-lsl
reviewed
Mar 6, 2025
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1364 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 861 864 +3
Lines 14849 14938 +89
Branches 1633 1647 +14
=========================================
+ Hits 14849 14938 +89 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
gin-lsl
approved these changes
Mar 6, 2025
Collaborator
|
solflare 只是顺便添加的? |
Collaborator
Author
嗯,本来想看看把 solflare 的跳转也加上,但是没搞定,晚一点再看看 |
3 tasks
This branch was successfully deployed
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.

当前移动端只有支持 wallet connect 协议的链接链接,但是在 ios 下 wc 的协议会被覆盖,所以支持下针对指定钱包通过跳转到钱包的自己的链接来连接钱包。
比如 phantom 钱包参考文档 https://docs.phantom.com/phantom-deeplinks/other-methods/browse
实现的逻辑是:如果判断是在移动端 & 钱包配置了链接 & 没有检查到插件安装的情况就跳转到对应链接