raiden-network / raiden

Raiden Network
https://developer.raiden.network
Other
1.84k stars 377 forks source link

Enable invoicing #3767

Open pirapira opened 5 years ago

pirapira commented 5 years ago

Abstract

In many cases merchants send bills and then customers pay. This issue keeps track of supporting this use case in Raiden.

Invoicing might not be a part of Raiden. If Raiden provides enough functionality for others to build invoicing, that's also fine.

Motivation

@LefterisJP wondered whether this is kept track of.

ghost commented 5 years ago

I think Raiden should only be focus on off chain payments and not specific scenario like merchant payment request and then response...etc, because:

pirapira commented 5 years ago

@jeemud Yes, that sounds like disciplined engineering. I'll add "Invoicing might not be a part of Raiden. If Raiden provides enough functionality for others to build invoicing, that's also fine." in the description of this issue.

ghost commented 5 years ago

@pirapira I agree. I think we can have independent implementations on top of Raiden for merchant usecase. That will be good demo of Raiden also. Are there any set of requirements?

pirapira commented 5 years ago

I don't know. Figuring that out is part of this issue.

christianbrb commented 5 years ago

Maybe this is a starting point? Raiden Invoice Repo https://github.com/ChaeByunghoon/raiden-invoice) made by @chaebyunghoon

hoonkii commented 5 years ago

oh that repo is just made for my demo scenario. That repo just apply concept of bolt11

christianbrb commented 5 years ago

Here is a short description of how the Lightning Invoicing works: https://medium.com/suredbits/lightning-101-what-is-a-lightning-invoice-d527db1a77e6

drselump14 commented 4 years ago

Unlike the original transaction, for the invoice payment the transaction should be initiated by receiver and the confirmation should be asked from payer by asking the secret.