-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): implement the tip logic to pay a bolt 12 #181
Conversation
✅ Deploy Preview for coffee-docs canceled.
|
f6e7195
to
551e222
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good to me. Thanks for putting this together.
This command needs to be documented as well |
9b84561
to
e235480
Compare
I want to think how to test this |
318d995
to
6cd79dc
Compare
Based on top of the current master, and we are not ready to implement some tests inside our integration testing, sorry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some comments
Also, when I run coffee tip
locally but the tip doesn't actually go through, I get an empty table in the output
It might be helpful to provide users with a message for better feedback
6cd79dc
to
64004b6
Compare
How you are testing the coffee tip? What do you mean doesn't actually go through? What error you are getting? |
2ed30ba
to
5c14086
Compare
That's the point I was making |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Yes I realize from your review that my implementation was a little bit monkey :) |
5c14086
to
a0f4c32
Compare
Signed-off-by: Vincenzo Palazzo <[email protected]>
Signed-off-by: Vincenzo Palazzo <[email protected]>
This commit is implementing the tip logic to pay and bolt12 specified inside the coffee conf and to use the command line to pay it. Signed-off-by: Vincenzo Palazzo <[email protected]>
Signed-off-by: Vincenzo Palazzo <[email protected]>
…inside the coffee conf This commit assume that the developer of the plugins is running a lightning node and is allow to receive payments with lightning. So this is a helper method that help you to generate an BOLT 12 invoice without understand how to do it :) Signed-off-by: Vincenzo Palazzo <[email protected]>
Signed-off-by: Vincenzo Palazzo <[email protected]>
Signed-off-by: Vincenzo Palazzo <[email protected]>
a0f4c32
to
e2e6fc0
Compare
See commits for more details
Fixes #137