I am trying to develop a telegram mini app, and I want to connect the phantom wallet in my mini app, so I followed the tutorial to install @web3modal/wagmi.
After I clicked the Connect Button, the wallet list showed that phantom was installed (chrome extension in my case). But after I selected phantom, the phantom extension did not respond. If I selected metamask, I could connect the wallet normally.
Link to minimal reproducible example
https://web.telegram.org/k/#@leslie_57_bot
Summary
The code repo: https://github.com/leslie555/TG-mini-app
I am trying to develop a telegram mini app, and I want to connect the phantom wallet in my mini app, so I followed the tutorial to install
@web3modal/wagmi
. After I clicked the Connect Button, the wallet list showed that phantom was installed (chrome extension in my case). But after I selected phantom, the phantom extension did not respond. If I selected metamask, I could connect the wallet normally.List of related npm package versions
"@web3modal/wagmi": "^5.0.11", "viem": "^2.19.2", "wagmi": "^2.12.4", "@tanstack/react-query": "^5.51.21",