You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
README: collapse Accepting payments into shared setup + table #1084
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:
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.
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.
@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.
Activity
Ansh-699 commentedon Nov 9, 2026
Hi, I'd like to work on this. Could you assign it to me?
Ansh-699 commentedon Nov 11, 2026
@chappie-daemon
chappie-daemon commentedon Nov 29, 2026
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.mdand did not deduplicate it. Measured atmaintoday (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).## 5. [LNbits]at 68 againstLNBITS_API_KEYat 74 and lowercasepaymentsProcessors.lnbits.*at 82-84.One thing the dedupe must keep: line 17 explains that a Compose deployment has no
nostream stop/nostream startand must recreate the relay with./deploy/recreate-relay.shinstead, run as the user who randeploy/bootstrap.sh. Collapsing eight restart lines into one is safe; dropping that paragraph is not.Also worth knowing for whoever takes it:
docs/PAYMENTS.mdexists only onmain. It is absent fromrewrite/main, so this edit targetsmain.cameri commentedon Nov 29, 2026
@Ansh-699 assigned to you
Ansh-699 commentedon Nov 29, 2026
@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 commitfb639c8on top of5d295d7. Could you open the PR from it or cherry-pick it?docs/PAYMENTS.mdnow 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 inCONFIGURATION.md, and the Compose recreate note is kept.