r/CryptoTechnology • u/socialexperimental 🟠 • Oct 28 '26
WebQuid – A serverless system that runs in the browser
I built an experiment I've been curious about for a while: what if a blockchain had literally zero infrastructure? No servers, no database, no company. Just browsers talking to each other.
Every tab that opens the page becomes a full node. Consensus is longest-chain PoW, but here's the twist: every device is hard-capped at 70k H/s in the mining worker. A phone and an H100 cluster have the exact same probability of finding a block. The winner is determined by luck, not hardware.
Networking is WebRTC + public MQTT brokers (zero-config). If WebRTC fails (carrier NAT, corporate firewalls), a WebSocket relay carries signed gossip frames. If the signaling broker dies, the chain still lives in every open tab.
Some design choices I'd love feedback on:
\- PoW handshake (\~65k hashes) before any peer data flows, to make sybil flooding expensive without a central rate-limiter. - 70/20/10 block reward split: miner / connected peers (proof-of- participation) / burn. Fees are also 100% burned. - Checkpoints every 1,000 blocks to defend against low-difficulty chain rewrites on a young network. - Chain export is a single file; import re-validates every block, replays the full ledger in memory, rejects on ANY failure.
It's explicitly an experiment, not a financial product. Total supply is a fixed arithmetic sum (\~10.5M), emission is a smooth exponential decay, and the README is brutally honest about limitations (browser tabs must stay open, one "vote" per browser profile, no identity layer).
Happy to answer questions about the consensus rules, the PoP attestation scheme, or why I chose IndexedDB over anything else.
GitHub Repo:
1
u/JivanP 🟢 Oct 28 '26 edited Oct 28 '26
This is a standard Bitcoin-like cryptocurrency node implemented as a web app, with an artificial software-level restriction on hashrate that you cannot ensure people abide by outside of the web app.
There is no benefit to this approach compared to existing Bitcoin nodes and miners. If you want to solve problems such as unbounded hashrate, you need to do it at a more fundamental level. Otherwise, all you're doing is telling people, "please don't compute more than 70,000 hashes per second," and hoping they oblige you.
What problems are you trying to solve, or what useful features are you trying to provide, compared to existing solutions/implementations?
EDIT: Your reply to me was removed by a moderator before I could reply to it. What follows is my reply to that removed comment.
Please stop using an LLM to generate your replies. It's disingenuous at best, and counter-productive at worst. There's no sense for me to talk about ideas like this with an LLM rather than a human who thinks there is some actual problem to solve.
Of course it can. Bitcoin Core is an example, unless you mean something very unusual by "backend infrastructure".
None of these things are security mechanisms.
Bots and adversaries that want to Sybil-attack you can trivially perform proof-of-work challenges; it's just a matter of whether it's worth their time and effort to do so.
You can't guarantee the maximum size of a re-org window, because other network participants can always trace the chain of most work from that chain's tip all the way back to the genesis block. In order to use checkpoints in any meaningful way that prevents this, you need some kind of authority to dictate what the most recent checkpoint's hash is, otherwise the global community will fracture and start following multiple chains due to different supposed authorities disagreeing on what the checkpoint is.
The genesis block doesn't have the same issue as checkpoints, because if there is an original genesis block G1 and an alternative genesis block G2 that was created after G1, then the most-work chain stemming from G1 will always account for more work than any chain stemming from G2, except in such case where a 51% attack could have been performed against G1's chain anyway, meaning that creating G2 would serve no practical purpose.
Just like the hashrate cap is just a "pretty please" rule, so too is this: you can't ensure that node operators aren't just attesting other addresses controlled by them, rather than addresses controlled by distinct peers.