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

docs: add instructions for serving index.html with local HTTP server #930

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jimgreen2013
Copy link

Explanation

Update the README to include steps for using a local HTTP server to serve index.html, as opening the file directly in the browser causes the Metamask SDK to fail to detect the MetaMask extension.

Added:

  • Explanation about the need for a local HTTP server.
  • Steps to run the example using node http-server.

References

Fixes #916

Update the README to include steps for using a local HTTP server to serve 
index.html, as opening the file directly in the browser causes the Metamask 
SDK to fail to detect the MetaMask extension.

Added:
- Explanation about the need for a local HTTP server.
- Steps to run the example using node http-server.

Closes MetaMask#916
@andreahaku andreahaku self-assigned this Jul 9, 2024
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.

[Bug]: The Pure JS example doesn't work, fail to detect Metamask extension
2 participants