Skip to content

Simplify BoostButton: remove client-side keysend, pass pubkey to boltwall#34

Merged
tomsmith8 merged 1 commit intomainfrom
feat/simplify-boost-button
Apr 10, 2026
Merged

Simplify BoostButton: remove client-side keysend, pass pubkey to boltwall#34
tomsmith8 merged 1 commit intomainfrom
feat/simplify-boost-button

Conversation

@tomsmith8
Copy link
Copy Markdown
Contributor

Summary

  • Remove client-side Lightning keysend via sphinx-bridge — payment now happens server-side in boltwall
  • BoostButton now POSTs { refid, amount, pubkey } — the api client handles L402 automatically
  • Remove NEXT_PUBLIC_BOOST_PUBKEY env var (no longer needed)
  • Default boost amount: 5 → 10
  • New required pubkey prop on BoostButton (from node.properties.pubkey)

Depends on

  • stakwork/jarvis-boltwall#326 (boltwall accepts pubkey from client)

Test plan

  • Boost button renders with correct default amount (10)
  • Click sends POST /boost with refid, amount, pubkey
  • Flash animation fires on success
  • No references to NEXT_PUBLIC_BOOST_PUBKEY or sphinx.keysend remain
  • Build passes

…wall

Payment now happens server-side in boltwall. The button just POSTs
{ refid, amount, pubkey } and the api client handles L402 automatically.
Removes sphinx-bridge, isSphinx, and NEXT_PUBLIC_BOOST_PUBKEY.
Default boost amount changed from 5 to 10.
@tomsmith8 tomsmith8 merged commit d8e5206 into main Apr 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant