Comments (3)
I like it, let's do it like that 🔥
from mostro.
Hi @grunch , I was thinking about a thing during the test of sell order published. Let me know what you think.
I am thinking to use just Takesell command to get also marketplace order, because in the end the logic is very similar to the new SendInvoice command. Let me breakdown my simple idea:
- Seller publish sell order at market price.
- Buyer sees the offer and Takesell it.
- Mostro checks that offer is market price kind and sends a dm to buyer with Invoice details on amount : price calculated + premium
- Buyer gets the message, creates the invoice on his wallet and sends again a Takesell to mostro with the correct invoice
- Mostro shows hold invoice to seller and then we proceed as usual.
I just think this is good because the SendInvoice will do quite the the same logic of takesell with the exception of showing hold invoice to seller, so we avoid another command and some repetitive code on the CLI.
Let me know!
from mostro.
from mostro.
Related Issues (20)
- Addinvoice action is not handling LN address
- Mostro should allow open disputes only after the seller pays the hold invoice HOT 3
- Do not allow an admin/solver settle or cancel an order if it is not in dispute HOT 1
- dispute's status is being saved on database on camel case HOT 5
- Panics on trying to take a dispute from a non allowed user HOT 8
- Mostro crashes if an empty array is sent as an invoice HOT 2
- New nip33 event to publish mostro useful data HOT 6
- CantDo message when a solver settle a dispute order HOT 2
- Check lower limit when creating new order HOT 1
- Admin has to take a dispute to resolve it HOT 1
- bug: two admins can take the same dispute HOT 9
- New nip33 event to publish mostro stats HOT 2
- re-subscribe hold invoices after start
- Add multi-platform binaries on releases
- add the option for users to see all their current orders HOT 2
- Rango de cantidades al ordenar. HOT 7
- Remove pubkeys from rating events HOT 3
- Add maker's reputation to nostr order event HOT 1
- if it is a range order do not allow creating an order with the amount of sats HOT 5
- bug: in a range order listorders show fiat amount is 0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mostro.