Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Connector incompatible with Wagmi/Viem V2, even with createConnector #147

Open
W3stside opened this issue Aug 30, 2024 · 0 comments
Open

Comments

@W3stside
Copy link

Issue is this line

blockExplorerUrl: chain.blockExplorers?.default.url[0] || "",

will return the first character of any blockExplorers.default.url passed in as wagmi/viem v2 expects a string here and NOT an array

v2 types: https://wagmi.sh/core/api/chains#create-chain

--

Right now for any projects that want to use the connector it throws

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant