-
Notifications
You must be signed in to change notification settings - Fork 137
Description
The current RFQ service implementation supports asset purchase requests, enabling users to acquire tap assets at the end of a Lightning payment chain. This issue seeks to extend the RFQ service to encompass requests for asset sales. This enhancement enables users to settle a Lightning invoice by conducting an asset sale to the next hop in a Lightning payment route, based on mutual agreement.
Based on my assessment, the most straightforward method to accommodate asset sales within the RFQ service involves introducing new message types specifically designed for initiating and accepting asset sale requests. The existing request and accept message types will be designated for asset purchases only.
Upon completing this issue, the RFQ message types will be:
SellRequestfor initiating a sale,SellAcceptfor confirming the acceptance of a sale,BuyRequestfor initiating a purchase,BuyAcceptfor confirming the acceptance of a purchase,Rejectfor declining any of the above requests.
Separate buy and sell request messages provides flexibility for the future, simplicity in naming and documenting fields, and unambiguous types in code.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status