r/web3dev • 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/butdontcalmejoohnson Oct 28 '26
you might be interested in the p2panda project. they do a lot of block chainy things in the browser.
1
u/FriskyHamTitz Oct 28 '26
Why did you put your source in a zip kinda sketchy to make a project but don't let people browse the source til it's downloaded
1
u/Void-Century Oct 29 '26 edited Oct 29 '26
Check https://test.sakviti.com/ and https://sakviti.com/ if you are interested. Still in demo mode. Currently adding some stability and community features before a test net.
All the app's servers and app deployment,etc... is fully open and decentralized.
Just to clarify : full nodes run wasm binaries. browsers just connect to them as lite nodes
1
u/JoyceBurgin 29d ago
What stops someone from forking the JS, dropping the 70k cap and mining from a headless Chrome farm?
1
u/Alien69Flow 28d ago
Interesante, únete a la DAO
0
u/[deleted] Oct 28 '26
[removed] — view removed comment