gudnuf / bolt12-prism

CLN plugin for lightning prisms using BOLT 12
15 stars 5 forks source link

Feature Request: External Prism Execution #59

Closed farscapian closed 7 months ago

farscapian commented 11 months ago

It would be nice if the prism payment logic could be invoked externally, for example by another plugin. Currently the only way to invoke the prism payment logic is by paying a BOLT12 invoice.

Probably the easiest way to do this is add an rpc method: prism-execute that takes a PRISM_ID (the prism to execute), and AMOUNT (msats), and a LABEL that can be used to tie the payment execution back to a source event.

gudnuf commented 7 months ago

resolved with f8d7da01103be434bb2ace7d15586e408d0542fc and 85de9fa5ed563cdf41a406521a22a98ac6cc395c