⚡ Lightning prize splitting via Nostr Wallet Connect (NWC)#25
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ale specs - README: Lightning prize payouts (NIP-47) + optional registration LN address - guide: add 'Pay out the winning team' step (09), recapture all screenshots - capture-guide.mjs: capture the payout modal; renumber AI step to 10 - remove 5 incremental superpowers spec/plan pairs + launch-readiness audit - strip demo wording from the kept lightning spec/plan - gitignore stray .venvsource/ virtualenvs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds real Bitcoin (Lightning) to SquadSync for the bitcoin++ hackathon: an organizer marks a winning team, enters a sats prize, pastes a Nostr Wallet Connect (NIP-47) string, and the app splits the pot evenly and pays each winner's Lightning address — live. The deterministic team engine is untouched; this is a bolt-on at the results stage.
lud16to a bolt11 invoice; NWC client pays it over NIP-47, reusing the existingnostr_serviceNIP-04 + relay plumbing.kind:0profile), organizer payout modal with live per-member status + retry-failed, and the public prize-paid badge.Security: the NWC string is a spend credential — accepted per-request, used transiently, never persisted, logged, or returned. Both payout endpoints enforce organizer ownership.
Test Plan
0007applies cleanly through head.Spec & plan:
docs/superpowers/specs/2026-06-17-lightning-prize-splitting-design.md,docs/superpowers/plans/2026-06-17-lightning-prize-splitting.md.