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

Your Browser doesn't support window.crypto on RN #101

Open
MohamedAhmed122 opened this issue Apr 7, 2021 · 1 comment
Open

Your Browser doesn't support window.crypto on RN #101

MohamedAhmed122 opened this issue Apr 7, 2021 · 1 comment

Comments

@MohamedAhmed122
Copy link

I am trying to use web3.js in RN I followed the docs , but I am facing this error
Screenshot 2021-04-07 at 16 36 42

so I tried to uncomment require('crypto'); in the shim but I am facing different error
Screenshot 2021-04-07 at 16 40 55

Any clues what is the issue or maybe how to resolved ?
@mvayngrib

@vuongpsht
Copy link

use require('crypto-browserify') instead

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

2 participants