Skip to content

Conversation

@sembrestels
Copy link
Member

It calls the wallet_addEthereumChain function so a popup to add the xdai chain appears when we are in any other network. Unfortunately it doesn't have support for "official" chains (mainnet, rinkeby...).

Please could you review if that's the best place to put the window.ethereum call? I think it's ok, but if you prefer, I can fork use-wallet in 1hive and call this function from it.

@vercel
Copy link

vercel bot commented Mar 4, 2021

@sembrestels is attempting to deploy a commit to the 1hive Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant