Nostr WOT Extension by Nostr WoT
Query Nostr Web of Trust distance between pubkeys. Know how many hops separate you from anyone on Nostr.
ExperimentalExperimental
Extension Metadata
Screenshots
About this extension
Nostr WoT Extension exposes Web of Trust queries to any Nostr web app.
WHAT IT DOES
Answers one simple question: "How many hops separate me from this pubkey?"
Web apps can use window.nostr.wot to:
- Get distance from you to any pubkey
- Check if someone is within N hops of your social graph
- Query distance between any two pubkeys
- Calculate trust scores based on distance and path count
- Batch query multiple pubkeys at once
- Find common follows between you and another user
TRUST SCORING
Beyond simple hop count, the extension calculates a trust score (0-1) that factors in:
- Social distance (closer = higher score)
- Number of independent paths (more paths = stronger connection)
- Configurable weights for each hop level
MODES
PRIVACY
FOR DEVELOPERS
if (window.nostr?.wot) {
const hops = await window.nostr.wot.getDistance(targetPubkey);
const score = await window.nostr.wot.getTrustScore(targetPubkey);
const inWoT = await window.nostr.wot.isInMyWoT(targetPubkey, 2);
}
Works alongside existing NIP-07 extensions (Alby, nos2x, etc.)
Open source: https://github.com/nostr-wot/nostr-wot-extension
WHAT IT DOES
Answers one simple question: "How many hops separate me from this pubkey?"
Web apps can use window.nostr.wot to:
- Get distance from you to any pubkey
- Check if someone is within N hops of your social graph
- Query distance between any two pubkeys
- Calculate trust scores based on distance and path count
- Batch query multiple pubkeys at once
- Find common follows between you and another user
TRUST SCORING
Beyond simple hop count, the extension calculates a trust score (0-1) that factors in:
- Social distance (closer = higher score)
- Number of independent paths (more paths = stronger connection)
- Configurable weights for each hop level
MODES
- Remote: Fast queries via WoT Oracle API
- Local: Index your follow graph locally for privacy and offline use
- Hybrid: Local first, remote fallback
PRIVACY
- Local mode keeps all data in your browser (IndexedDB)
- No tracking, no analytics, no data collection
- You control which oracle you trust in remote mode
FOR DEVELOPERS
if (window.nostr?.wot) {
const hops = await window.nostr.wot.getDistance(targetPubkey);
const score = await window.nostr.wot.getTrustScore(targetPubkey);
const inWoT = await window.nostr.wot.isInMyWoT(targetPubkey, 2);
}
Works alongside existing NIP-07 extensions (Alby, nos2x, etc.)
Open source: https://github.com/nostr-wot/nostr-wot-extension
Rated 0 by 0 reviewers
Permissions and data
More information
- Add-on Links
- Version
- 0.1.1
- Size
- 61.21 KB
- Last updated
- 3 days ago (Feb 17, 2026)
- Related Categories
- License
- MIT License
- Version History
- Add to collection