Access to Ethereum data using web browsers
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 297
- Avg merge
- 5h 50m
- Merged PRs (30d)
- 1
Description
It would be nice to access Ethereum data in a peer-to-peer way using a web browser. This is not possible today, and Ethereum service providers fill this role instead.
The Ethereum network and its full nodes use the [eth](https://github.com/ethereum/devp2p/tree/master/caps/eth.md) protocol, and this protocol is inaccessible to the browser by design. This is because eth is a tit-for-tat system. Browsers cannot give any meaningful data back, and can generally not serve other clients in a meaningful way. There are workarounds for everything of course, but I'm quite happy we don't have to deal with browsers in the Ethereum core network.
We also have [les](https://github.com/ethereum/devp2p/tree/master/caps/les.md), which is a client/server protocol and includes incentives. LES should work in the browser, but doesn't.
In its current form, LES is incompatible with browsers because it uses the RLPx protocol. But LES doesn't need RLPx and would work just as well over HTTP. It would be nice to have an implementation and spec for LES over HTTP, specifically using HTTPS.
The LES specification doesn't define how servers are actually found, it just describes the interaction between a single client and server. This is OK for the RLPx-based version of LES because it can use the discovery protocols we have. But those protocols are also incompatible with the browser. I think the right solution for this problem would be a server discovery protocol specifically for browsers.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.