Integrate plebname (.btc) user search: decentralized, uncensorable and unique aliases for npubs on Bitcoin#101
Open
ndee wants to merge 2 commits into
Open
Integrate plebname (.btc) user search: decentralized, uncensorable and unique aliases for npubs on Bitcoin#101ndee wants to merge 2 commits into
plebname (.btc) user search: decentralized, uncensorable and unique aliases for npubs on Bitcoin#101ndee wants to merge 2 commits into
Conversation
4bd2827 to
f8388bc
Compare
alice.btc user search: decentralized, uncensorable and unique aliases for npubs on Bitcoin
alice.btc user search: decentralized, uncensorable and unique aliases for npubs on Bitcoinalice.btc user search: decentralized, uncensorable and unique aliases for npubs on Bitcoin
alice.btc user search: decentralized, uncensorable and unique aliases for npubs on Bitcoinplebname (.btc) user search: decentralized, uncensorable and unique aliases for npubs on Bitcoin
|
👀 |
|
We now host a NIP-05 Provider at https://pleb.name/ that does the lookup in the Bitcoin chain. So searching for Plebnames with @pleb.name (like https://njump.me/ndee@pleb.name) works now on all Nostr clients and pleb.name only does a lookup in the Bitcoin chain like described at https://plebnames.org/. Nevertheless https://pleb.name/ is a single point of failure and could be corrupted and in the long run it is important that Nostr clients do the lookup in the Bitcoin chain by themselves like this pull request proposes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plebnames (http://plebnames.org/) provide completely decentralized, uncensorable and unique aliases for npubs. Only normal Bitcoin explorers like mempool.space or blockstream.info need to be accessed.
Basic example
When you search for a plebname in the top right search bar (e.g. "alice.btc") a lookup in the Bitcoin chain is made (via cors request to arbitrary Bitcoin explorers) to check if there is a Plebname with an attached Nostr npub. If there is one it appears in the search results.
Motivation
Other naming schemes are in some degree centralized and could be corrupted or attacked. Plebnames are as uncorruptible and uncensorable as Bitcoin, because they are stored in the Bitcoin chain and read via normal Bitcoin explorers. How it works is also described in the README.md of https://github.com/MichiSpebach/plebnames, it is a really simple protocol.
Test
The integration can be tested by searching for "test.btc" which returns a valid pleb name with attached npub.