Tools for developing Mostro clients.
This package is only providing lower-level functionality.
Implementation of core functionality in TypeScript/JavaScript. See mostro-core.
dispute.ts
- Handles dispute resolution logiclib.ts
- Core library utilitiesmessage.ts
- Message handling functionalityorder.ts
- Order management systemrating.ts
- User rating implementationuser.ts
- User management functionality
Implementation of core functionality in TypeScript/JavaScript. See mostro-core.
listorders
-Requests open orders from Mostro pubkeyneworder
-Create a new buy/sell order on Mostrotakesell
-Take a sell order from a Mostro pubkeytakebuy
-Take a buy order from a Mostro pubkeyaddinvoice
-Buyer add a new invoice to receive the paymentgetdm
-Get the latest direct messages from Mostrofiatsent
-Send fiat sent message to confirm payment to other userrelease
-Settle the hold invoice and pay to buyercancel
-Cancel a pending orderrate
-Rate counterpart after a successful tradedispute
-Start a disputeadmcancel
-Cancel an order (only admin)admsettle
- Settle a seller's hold invoice (only admin)admlistdisputes
-Requests open disputes from Mostro pubkeyadmaddsolver
- Add a new dispute's solver (only admin)admtakedispute
- Admin or solver take a Pending dispute (only admin)help
-Print this message or the help of the given subcommand(s)