Safe connector not working, throwing a SafeAppProvider
is not a constructor error
#4364
Open
1 task done
Labels
Good First Issue
Misc: Good First Issue
Check existing issues
Describe the bug
I'm trying to open my Vite dApp as a Safe app, it works well inside the Safe wallet context, but the Safe connector will not connect. After digging for a bit and doing some debugging I found out there is a
SafeAppProvider is not a constructor
error thrown by the connector.I see there has been similar issues fixed for other connectors before, like this one, so perhaps the solution for this connector is similar
Link to Minimal Reproducible Example
https://github.com/iceanddust/wagmi-safe-connector-issue
Steps To Reproduce
Apps
tab, and then toMy custom apps
tabAdd custom Safe App
, and enter the URL (Should behttp://localhost:5173/
if you're running locally)Add
, then open the Safe appSafe
connector and see the error pop up, the connector will never connectWhat Wagmi package(s) are you using?
wagmi
Wagmi Package(s) Version(s)
2.12.25
Viem Version
2.21.34
TypeScript Version
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: