Skip to content

feat: 支持在移动端用链接跳转的方式链接钱包 - #1364

Merged
yutingzhao1991 merged 14 commits into
mainfrom
feat/connectlinkconfig
Mar 6, 2025
Merged

yutingzhao1991 merged 14 commits into
mainfrom
feat/connectlinkconfig

Conversation

@yutingzhao1991

Copy link
Copy Markdown
Collaborator

当前移动端只有支持 wallet connect 协议的链接链接,但是在 ios 下 wc 的协议会被覆盖,所以支持下针对指定钱包通过跳转到钱包的自己的链接来连接钱包。

比如 phantom 钱包参考文档 https://docs.phantom.com/phantom-deeplinks/other-methods/browse

实现的逻辑是:如果判断是在移动端 & 钱包配置了链接 & 没有检查到插件安装的情况就跳转到对应链接

@vercel

vercel Bot commented Mar 6, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ant-design-web3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 6, 2025 9:27am

@changeset-bot

changeset-bot Bot commented Mar 6, 2025 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7076b91

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 15 packages
Name Type
@ant-design/web3-assets Minor
@ant-design/web3-common Minor
@ant-design/web3 Minor
@ant-design/web3-solana Minor
@ant-design/web3-icons Minor
@ant-design/web3-eth-web3js Patch
@ant-design/web3-ethers-v5 Patch
@ant-design/web3-ethers Patch
@ant-design/web3-sui Patch
@ant-design/web3-ton Patch
@ant-design/web3-wagmi Patch
@example/eth-web3js Patch
@example/ethers-v5 Patch
@example/ethers Patch
@ant-design/web3-bitcoin Patch

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

@socket-security

socket-security Bot commented Mar 6, 2025 •

Copy link
Copy Markdown

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

View full report↗︎

@github-actions

github-actions Bot commented Mar 6, 2025 •

Copy link
Copy Markdown

Preview is ready

Comment thread packages/common/src/types.ts Resolved
@codecov

codecov Bot commented Mar 6, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (887c5d5) to head (7076b91).
Report is 1 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gin-lsl

gin-lsl commented Mar 6, 2025

Copy link
Copy Markdown
Collaborator

solflare 只是顺便添加的?

@yutingzhao1991

Copy link
Copy Markdown
Collaborator Author

solflare 只是顺便添加的?

嗯,本来想看看把 solflare 的跳转也加上,但是没搞定,晚一点再看看

@yutingzhao1991
yutingzhao1991 merged commit b6f1f1d into main Mar 6, 2025
@yutingzhao1991
yutingzhao1991 deleted the feat/connectlinkconfig branch March 6, 2025 09:33

This branch was successfully deployed

1 active deployment
Preview — 7076b91a Deployed Mar 6, 2025 by vercel[bot]
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