Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate plebname (.btc) user search: decentralized, uncensorable and unique aliases for npubs on Bitcoin #101

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ndee
Copy link

@ndee ndee commented Sep 28, 2024

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.

Copy link

@MichiSpebach MichiSpebach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless the two .vscode files that where added it looks good. It is straight forward and does not add much weight.

.vscode/settings.json Outdated Show resolved Hide resolved
@ndee ndee marked this pull request as ready for review September 30, 2024 09:58
@ndee ndee changed the title Integrate "plebname" user search Integrate alice.btc user search: decentralized, uncensorable and unique aliases for npubs on Bitcoin Sep 30, 2024
@ndee ndee changed the title Integrate alice.btc user search: decentralized, uncensorable and unique aliases for npubs on Bitcoin Integrate alice.btc user search: decentralized, uncensorable and unique aliases for npubs on Bitcoin Sep 30, 2024
@ndee ndee changed the title Integrate alice.btc user search: decentralized, uncensorable and unique aliases for npubs on Bitcoin Integrate plebname (.btc) user search: decentralized, uncensorable and unique aliases for npubs on Bitcoin Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants