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

Hi @flexsurfer, that's because MetaMask implements [EIP-1102](https://eips.ethereum.org/EIPS/eip-1102). You have to call ethereum.request({ method: 'eth_requestAccounts' }) first. Since you're asking about MetaMask specifically, I'll also refer you to the relevant section of our [documentation](https://docs.metamask.io/guide/ethereum-provider.html#using-the-provider). #4561

Closed
amin1419 opened this issue Dec 15, 2021 · 1 comment

Comments

@amin1419
Copy link

Hi @flexsurfer, that's because MetaMask implements EIP-1102. You have to call ethereum.request({ method: 'eth_requestAccounts' }) first. Since you're asking about MetaMask specifically, I'll also refer you to the relevant section of our documentation.

Originally posted by @rekmarks in #2319 (comment)

@mryalamanchi
Copy link
Contributor

@amin1419 this issue is not clear and just a repost of an old comment. This issue will be closed.

@poojaranjan @lightclient

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

No branches or pull requests

3 participants