Skip to content

[FEAT] Default sellers and NIP-65 relay discovery for new users #8

@BenGWeeks

Description

@BenGWeeks

Problem

Currently, when a new user visits the marketplace for the first time, they may see an empty shop with no products or merchants. This creates a poor first-time user experience.

Proposed Solution

1. Default Sellers

The marketplace should load with a curated list of default sellers so new users immediately see products:

  • LNbits official shop (if available)
  • And possibly a small selection of verified/trusted merchants

2. NIP-65 Relay Discovery

Allow logged-in users to discover additional merchants from their own relay list:

  • Read the user's relay preferences from their NIP-65 Relay List Metadata (kind 10002)
  • Query those relays for marketplace events (NIP-15 kinds 30017/30018)
  • Present discovered merchants with an option to add them (or just add them if they choose to just see all products from their relays)

3. User Experience Flow

  1. New visitor → Shows default merchants immediately
  2. User logs in (via NIP-07) → Option to "Discover merchants from your relays"
  3. User can manually add/remove merchants as desired

Benefits

  • Better first-time experience
  • Personalized discovery based on user's Nostr network
  • Maintains user control over which merchants they follow

Related NIPs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions