lacrypta / lacrypta/nostr-debugger

[enhancement] Implement NIP-78

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Implement NIP-78 to store configuration data like List of relays in NOSTR.

Proposal

User with pubkey XXXXX has 3 relays configured: nos.lol and relay.lawallet.ar connected, but relay.damus.io disconnected

{
  "created_at": 1714006712,
  "content": "",
  "tags": [
    ["d", "nostr-debugger"],
    ["r", "wss://nos.lol", true],
    ["r", "wss://relay.damus.io", false],
    ["r", "wss://relay.lawallet.ar", true],
  ],
  "kind": 30078,
  "pubkey": "XXXXX",
  [...]
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked NIP-78 specification and comparing its kind-30078 event example with the issue's relay-list proposal. The issue names no files or tests, so locate the relevant TypeScript configuration and relay-handling entry points first. Done means configuration data can be stored and retrieved using the specified event structure, including relay URLs and connection states.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.