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

metamask: only detectEthereumProvider() once #417

Merged
merged 1 commit into from
Apr 8, 2022

Conversation

mrnerdhair
Copy link
Contributor

@mrnerdhair mrnerdhair commented Feb 11, 2022

This follows the style from the new hdwallet-xdefi and makes fixing #416 easier.

@vercel
Copy link

vercel bot commented Feb 11, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/shapeshift/hdwallet/HouyXQQcSPmPi44Gh7kPSQNteHyP
✅ Preview: https://hdwallet-git-metamask-provider-parameter-shapeshift.vercel.app

integration/src/integration.ts Outdated Show resolved Hide resolved
integration/src/wallets/metamask.ts Outdated Show resolved Hide resolved
@mrnerdhair
Copy link
Contributor Author

@cjthompson @pastaghost I've updated the implementation here based on chris's feedback that web's using wallet.initialize(). Also updated #423 to harmonize xdefi with this approach: cad67f9

@mrnerdhair mrnerdhair mentioned this pull request Apr 7, 2022
@mrnerdhair mrnerdhair force-pushed the metamask-provider-parameter branch from e1fe00c to 6beeb13 Compare April 8, 2022 21:22
@mrnerdhair mrnerdhair merged commit 847c585 into master Apr 8, 2022
@mrnerdhair mrnerdhair removed this from the Low Priority milestone Apr 12, 2022
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.

3 participants