Using the app

How far your web of trust reaches

Why Nostr Vault only lets in people your friends follow, and how to choose how far out that trust goes.

The problem

Anyone can be anyone on Nostr

Nostr is open. Nobody signs you up, so nobody can stop anyone else from signing up either. A new account is just a new key, and a script can make a thousand of them in a minute. Every one of those keys can mention you, send you a message and turn up in your feeds. Left alone, that is how an open network fills up with spam.

What a spammer can't make is friends. Your friends won't follow a key that appeared a minute ago. So Nostr Vault lets in the people your friends actually follow and keeps everyone else out. That circle of trust is your web of trust, and you decide how far out it reaches.

How it works

Rings of follows, counted in hops

Picture yourself in the middle. The people you follow are the first ring around you, 1 hop out. The people they follow are the second ring, 2 hops out. Each ring is far bigger than the one inside it: you might follow 200 people, and between them they might follow 50,000.

Your web of trust as rings You are in the middle. The people you follow are 1 hop out. The people they follow are 2 hops out. Everyone further out, including brand new keys, is kept out of your inbox. You 1 hop 2 hops 3 hops and further New keys nobody follows kept out
Spam keys sit outside every ring, because nobody you know follows them.

The setting that draws the line is called Follow Distance. You'll find it in Settings, under Who Can Reach You, on iPhone, iPad, Mac and Android. It decides who can reach your inbox and messages, and the same rings shape your feeds, notifications and the WoT globe.

Choosing your distance

What each step gives you, and what it costs

Only you is the quietest. Nobody but you and your own accounts on the device can reach your inbox. You'll never see spam there, but you also won't hear from friends, even the ones you follow.

1 hop lets in the people you follow. Your inbox is everyone you chose and nobody you didn't. The cost is that a friend of a friend, someone you've never followed, can't get a message to you.

2 hops is where the app starts. It adds the people your follows follow, which is how most new people find you. To stop one careless follow from letting a stranger in, someone in that outer ring also needs a few of your follows behind them: 3 by default. That number is the Minimum Followers setting, just below Follow Distance. Raise it and fewer friends of friends get in; lower it and more do.

Two things stay the same at every step. Anyone can still reply to or quote your own posts, and your own posting is never limited. If a mention you expected never arrives, the sender is probably outside your rings: follow them, or lower Minimum Followers, and they'll be let in when your web next rebuilds.

More than one account

Each account draws its own rings

Every account on the device has its own Follow Distance and Minimum Followers, and its rings are built from its own follows only. Changing the setting changes the account you're on, and the new rings are ready once the vault has rebuilt them. Your own accounts can always reach each other.

Past 2 hops

A desktop Vault can see further

Your inbox stops at 2 hops, but there's a world of good people beyond it. A phone can't sort through the hundreds of thousands out there; a desktop Vault on a Mac or Linux box can. It gives people up to 6 hops out a score based on who in your web follows them, and sends the scores to your phone over the mesh.

Those scores feed the Discovery Reach slider in Settings → Feed. The best-scored far-off people then show up in Underrated and Discover, and as Hop 3, Hop 4 and Hop 5 on the WoT globe. It's for finding people only: nobody far out reaches your inbox this way. More in The far rings.

The web app doesn't have Follow Distance yet. It always uses 2 hops, with its own Minimum Followers in that browser.

Checked against Nostr Vault 3.3.0 and the web app.