reown-com / appkit

The full stack toolkit to build onchain app UX
https://reown.com/appkit
Apache License 2.0
4.91k stars 1.4k forks source link

[bug] Cannot select Fantom as chain when connected with a Social login (supported according to the docs) #2837

Closed paintoshi closed 1 month ago

paintoshi commented 1 month ago

Link to minimal reproducible example

https://stackblitz.com/edit/web3modal-next-template-q2bar1

Summary

According to this doc https://docs.walletconnect.com/appkit/features/socials#supported-chains Fantom is supported.

But when connected by email, discord, github etc Fantom can't be selected. Other "supported" chains works fine. So either it's not supported yet, or something is wrong.

My sandbox demo can't deal with social logins (no sandboxes does), but can download the code and run locally.

image

List of related npm package versions

"@web3modal/wagmi": "5.0.6", "viem": "^2.17.4", "wagmi": "^2.10.10"

rtomas commented 1 month ago

Working with latest version.

tested with 5.1.7

paintoshi commented 1 month ago

Working with latest version.

tested with 5.1.7

@rtomas Can you please provide an example where it does work? I updated my demo sandbox with latest web3modal 5.1.7, wagmi and viem but still can't switch to Fantom.

Created another sandbox just in case, but same issue there (has to be run locally, or at least I just get a white blank page when trying to log in with social account inside a sandbox provider): https://stackblitz.com/edit/stackblitz-starters-nfr7ts?file=config%2Findex.tsx

image