Skip to content

NIP-87 Support (Nostr Mint Discoverability) #263

@tvolk131

Description

@tvolk131

Supporting @benthecarman's NIP-87 would be a big win for ease of onboarding. I see two ways this could be approached:

Option 1: Discover all mints on a hardcoded list of popular relays

Pros:

  • Requires no DB migration
  • Simple to implement

Cons:

  • Cannot leverage existing web-of-trust by inputting your npub/nsec
  • No relay configurability

Option 2: Store npub/nsec to leverage web-of-trust

Pros:

  • Can leverage existing web-of-trust
    • Could allow for users to enter their npub if they only want to discover mints, only requiring their nsec if they wish to recommend a mint
  • Can load the user's preferred relay list automatically

Cons:

  • Requires a DB migration to store an npub/nsec
    • Probably makes sense to use a singleton pattern and store a single npub/nsec
  • Complex to implement
    • I believe most of the complexity would be in the UI, whereas the backend just needs to be able to store a single npub/nsec

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions