Projects
Nostr & DecentralizationFeatured

Nostr WoT — Web of Trust Ecosystem

Full infrastructure for decentralized trust scoring on Nostr. A three-part open-source ecosystem: a Rust-based graph oracle, a browser extension exposing window.nostr.wot, and a JavaScript SDK — used to filter spam without central moderators.

Nostr WoT — Web of Trust Ecosystem

Technologies

RustTypeScriptChrome Extensionnpm SDKNostrWeb of TrustOpen Source

Nostr WoT is the foundational trust layer for the Nostr ecosystem. It answers one question: how many hops separate two Nostr users? That answer powers spam filtering, content ranking, and reputation scoring across any Nostr client — without relying on a central authority.

The ecosystem has three parts. The WoT Oracle is a Rust-based high-performance graph indexer that continuously syncs follow lists from Nostr relays and runs bidirectional BFS pathfinding. It delivers sub-millisecond queries at over 10,000 requests per second, is self-hostable via Docker, and has a public instance at wot-oracle.mappingbitcoin.com.

The browser extension is available on Chrome, Brave, Edge, Opera, and Firefox. It exposes window.nostr.wot — a standard API any web app can query for trust scores. It supports three privacy modes: Local (full privacy, IndexedDB, no external requests), Remote (queries the Oracle), and Hybrid. Users can configure custom trust thresholds, path bonuses, and mute lists.

The JavaScript SDK (nostr-wot-sdk on npm) is extension-first: it uses the extension when available and falls back to the Oracle. It ships full TypeScript support and React hooks. Trust scores follow the formula: score = baseScore × distanceWeight × (1 + pathBonus), with weights decreasing by hop count and bonuses for multiple trust paths.

The ecosystem powers MappingBitcoin's review trust scoring and Nostr WTF's feed filtering. MIT licensed, built for maximum adoption.