Skip to content

BrowserProvider: strictly for the browser? #4031

Answered by ricmoo
fauxbytes asked this question in Q&A
Discussion options

You must be logged in to vote

Not really, if you have a node-based EIP-1193 provider, the BrowserProvider can wrap it. That's just currently a rare situation. Are there any you know of? Or are planning to write? :)

The name BrowserProvider was chosen just to make it more obvious as to its common usage. The old Web3Provider was originally intended for wrapping a Web3.js provider, and its evolving API, but once Web3.js moved to EIP-1193, that became moot.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fauxbytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants