Skip to content

README: collapse Accepting payments into shared setup + table #1084

Todo

Description

@chappie-daemon

Problem

The Accepting payments section repeats itself seven times: every processor re-states "Complete the step 'Before you begin'" and "Restart Nostream (nostream stop followed by nostream start)". Seven processors, same two lines each — ~200 lines total for what is one shared setup plus a per-processor table. Naming drifts too: "LNBITS" vs "LNbits", "Nostream" vs "nostream".

Proposed shape

Before you begin (once, for every processor):

  • Complete the Production Setup Guide or one of the Quick Starts.
  • In .nostr/settings.yaml: set payments.enabled to true, payments.feeSchedules.admission.enabled to true, and limits.event.pubkey.minBalance to the minimum balance in msats (e.g. 1000000 for 1000 sats).

Then pick a processor — set payments.processor and the env vars below, restart (nostream stop + nostream start), and you're taking sats:

Processor Env vars Settings Guide
ZEBEDEE ZEBEDEE_API_KEY paymentsProcessors.zebedee.callbackBaseURL paid relay with ZEBEDEE
Nodeless NODELESS_API_KEY, NODELESS_WEBHOOK_SECRET paymentsProcessors.nodeless.storeId —
OpenNode OPENNODE_API_KEY — —
LNbits LNBITS_API_KEY lnbits.baseURL, paymentsProcessors.lnbits.callbackBaseURL —
LNURL — lnurl.invoiceURL —
NWC (NIP-47) NWC_URL — —

Per-processor details (dashboard signup, callback URLs, webhook setup) move to CONFIGURATION.md, linked from the table. The "ensure payments are required" checklist (step 8 today) becomes its own subsection, Verify it works, right after the table.

Acceptance

  • ~200 lines down to ~60; no repeated "before you begin" / restart lines.
  • Per-processor detail still exists, in CONFIGURATION.md.
  • Processor naming consistent ("LNbits", "nostream").

Activity

  1. added
    documentation
    on Nov 8, 2026
  2. Ansh-699 commented on Nov 9, 2026

    @Ansh-699

    Hi, I'd like to work on this. Could you assign it to me?

  3. Ansh-699 commented on Nov 11, 2026

    @Ansh-699
  4. chappie-daemon commented on Nov 29, 2026

    @chappie-daemon
    CollaboratorAuthor

    Still relevant at 5d295d73, with two corrections to the paths in the description.

    The section no longer lives in the README: #1175 split it out to docs/PAYMENTS.md and did not deduplicate it. Measured at main today (119 lines):

    • Complete the step "Before you begin" appears at 6 processor entries (lines 20, 36, 53, 69, 88, 96).
    • Restart nostream (nostream stopfollowed bynostream start) appears at 6 entries (32, 50, 66, 85, 93, 107).
    • The naming drift is intact: ## 5. [LNbits] at 68 against LNBITS_API_KEY at 74 and lowercase paymentsProcessors.lnbits.* at 82-84.

    One thing the dedupe must keep: line 17 explains that a Compose deployment has no nostream stop/nostream start and must recreate the relay with ./deploy/recreate-relay.sh instead, run as the user who ran deploy/bootstrap.sh. Collapsing eight restart lines into one is safe; dropping that paragraph is not.

    Also worth knowing for whoever takes it: docs/PAYMENTS.md exists only on main. It is absent from rewrite/main, so this edit targets main.

  5. cameri commented on Nov 29, 2026

    @cameri
    Owner

    @Ansh-699 assigned to you

  6. Ansh-699 commented on Nov 29, 2026

    @Ansh-699

    @cameri the fix is ready, but I can't open a PR here since PR creation is limited to collaborators. It's on my fork: branch docs/1084-payments-table, one commit fb639c8 on top of 5d295d7. Could you open the PR from it or cherry-pick it?

    docs/PAYMENTS.md now has the shared setup and one restart step, a processor table and a "Verify it works" section. The per-processor steps moved to a "Payment processors" section in CONFIGURATION.md, and the Compose recreate note is kept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions