Currently, when Mostro pays a dev fee invoice via LNURL-pay (resolv_ln_address in src/lnurl.rs), no identifying information is attached to the payment. The callback only sends the amount parameter:
This makes it impossible to trace which Mostro node or order originated a specific dev fee payment when reviewing them on the receiving end.
Proposal
Use the LNURL-pay comment field (LUD-12) to attach context to each dev fee payment. The callback would become:
{callback}?amount={amount_msat}&comment={comment}
The comment should include:
- Order ID — to trace back which trade generated the fee
- Mostro node pubkey — to identify which Mostro instance sent the payment
Currently, when Mostro pays a dev fee invoice via LNURL-pay (
resolv_ln_addressinsrc/lnurl.rs), no identifying information is attached to the payment. The callback only sends theamountparameter:This makes it impossible to trace which Mostro node or order originated a specific dev fee payment when reviewing them on the receiving end.
Proposal
Use the LNURL-pay
commentfield (LUD-12) to attach context to each dev fee payment. The callback would become:{callback}?amount={amount_msat}&comment={comment}
The comment should include: