MostroP2P / mostro

Lightning Network peer-to-peer exchange platform on Nostr
https://mostro.network
MIT License
191 stars 32 forks source link

New actions and remove text strings, refactoring #340

Closed Catrya closed 3 months ago

Catrya commented 3 months ago

To replace all text strings sent to users with actions https://github.com/MostroP2P/mostro/issues/312 The new actions added are:

IsNotYourOrder NotAllowedByStatus PaymentFailed InvoiceUpdated NotFound IsNotYourDispute OutOfRangeFiatAmount OutOfRangeSatsAmount IncorrectInvoiceAmount InvalidSatsAmount Some CantDo were kept but all without text strings The new actions were added to mostro-core library

Have to propose messages that clients can give to users when they receive the actions

This PR has the same content as the #335 but without conflicts with my Main branch :)