← All projects
Project record1 mention
Originally shared on Hacker News

Scaffold

A TypeScript library implementing a peer-to-peer distributed computing mesh that runs in the browser. It provides a WebSocket + WebRTC mesh, a request/response protocol that incentivizes the closest or most efficient peers to respond, a WASM environment for deterministic execution and contract composition, collateralization so invalid responses have amortized negative value, and a consensus and UTXO layer focused on low-latency, low-finality micropayments weighted by WASM compute. The whole system is exposed through a single fetch()-style method, with a prototype planned for release in the coming weeks/months.

Last shared
01 / The problem

What it addresses

Originated from wondering why a multiplayer game couldn't simply be run on players' machines without a central server; the focus is low-latency, log(N) state consensus for shared state, unlike a blockchain.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Scaffold

    A TypeScript library implementing a peer-to-peer distributed computing mesh that runs in the browser. It provides a WebSocket + WebRTC mesh, a request/response protocol that incentivizes the closest or most efficient peers to respond, a WASM environment for deterministic execution and contract composition, collateralization so invalid responses have amortized negative value, and a consensus and UTXO layer focused on low-latency, low-finality micropayments weighted by WASM compute. The whole system is exposed through a single fetch()-style method, with a prototype planned for release in the coming weeks/months.

    Problem: Originated from wondering why a multiplayer game couldn't simply be run on players' machines without a central server; the focus is low-latency, log(N) state consensus for shared state, unlike a blockchain.

    Posted by @joeldw · Original source ↗

    Source text · @joeldw · · Source ↗

    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