Post
Topic
Board Development & Technical Discussion
Re: Is there a list of members of the forum (preferably trusted) with ln nodes?
by
PrimeNumber7
on 10/08/2020, 19:28:58 UTC

I've always wanted to run "something" that can fund any (small) LN payment request posted on the forum within seconds. I already check all posts, but need the LN side of it to work.
If you have something reading the content of each post, you would want to write a function to check if the content has a LN payment request, and if so, copy the URI of the request. Next, you would write a function that checks the request amount and returns the URI if it is above a threshold. Next, write a function that makes a RPC call to your LN wallet to find the payment request.

You would pass each post as follows:
fn3(fn2(fn1(post text)))