Comment

Comment by joeldw

I'm building a P2P distributed computing mesh that runs in the browser. It's a TS library that provides a few things:

- A WS + WebRTC mesh

- A request/response protocol incentivizing the closest or most efficient peers to respond to requests

- A WASM environment ensuring deterministic execution and supporting contract composition

- Collateralization around responses, ensuring invalid responses have amortized negative value

- A consensus and UTXO layer, focused on low-latency, low-finality micropayments (for request incentive and collateral), using WASM compute as the weight metric

The idea came out of me wondering a few years ago why a multiplayer game couldn't simply be run on the player's machines without a central server. It has grown since, but the focus has remained on low-latency and log(N) state consensus (unlike a blockchain).

It's wrapped up as a single fetch() method, mostly mirroring the browser's native fetch(). There's a lot more I could say; I love working on it and discovering elegant solutions to the problems that pop up. I'm hoping to release a prototype in a few weeks/months. If you're interested in trying it out, let me know (joel at scaffold.io); I'd love to have some other eyes on it.

parent joeldw 4 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton