neveko/neveko-market/README.md

61 lines
2.1 KiB
Markdown
Raw Normal View History

2023-06-03 14:17:58 +00:00
# neveko-market
2023-05-29 10:14:01 +00:00
2023-06-11 22:55:51 +00:00
![market](../assets/vendor.png)
2023-05-29 10:14:01 +00:00
## High-Level Order Lifecycle
* vendor adds a new product with description and price
* customer orders product
2023-07-23 10:41:04 +00:00
* vendor creates order, multisig wallet
2023-05-29 10:14:01 +00:00
| | prepare | make | exchange |
|-- |-- |-- |-- |
2023-07-23 10:41:04 +00:00
|vend | | | |
2023-05-29 10:14:01 +00:00
|cust | | | |
|med | | | |
2023-07-23 10:41:04 +00:00
* customer creates multisig wallet and prepares while collecting participant info
2023-05-29 10:14:01 +00:00
| | prepare | make | exchange |
|-- |-- |-- |-- |
|vend | X | | |
|cust | X | | |
2023-07-23 10:41:04 +00:00
|med | x | | |
2023-05-29 10:14:01 +00:00
2023-07-23 10:41:04 +00:00
* customer makes and sends both prepare infos to mediator and vendor
* participants all make_info
2023-05-29 10:14:01 +00:00
| | prepare | make | exchange |
|-- |-- |-- |-- |
2023-07-23 10:41:04 +00:00
|vend | X | x | |
|cust | X | x | |
2023-05-29 10:14:01 +00:00
|med | X | X | |
2023-07-23 10:41:04 +00:00
* customer calls to exchange multisig keys and collects outputs again
2023-05-29 10:14:01 +00:00
| | prepare | make | exchange |
|-- |-- |-- |-- |
2023-07-23 10:41:04 +00:00
|vend | X | X | |
|cust | X | X | X |
2023-05-29 10:14:01 +00:00
|med | X | X | |
2023-07-23 10:41:04 +00:00
* customer sends output to participants who then exchange multisig keys
2023-05-29 10:14:01 +00:00
| | prepare | make | exchange |
|-- |-- |-- |-- |
|vend | X | X | X |
|cust | X | X | X |
|med | X | X | X |
2023-12-04 02:28:27 +00:00
* customer funds wallet and exports info to vendor
* vendor imports multisig info
* vendor uploads delivery info and triggers and automate NASR (neveko auto-ship request) from customer
* customer requests shipment
* vendor drafts the multisig txset and sends to customer with tracking/delivery info
* order arrives, customer releases signed txset to vendor
2023-05-29 10:14:01 +00:00
* vendor signs and submits signed txset
* in case of dispute the mediator can sign multisig txset for customer refund
2023-12-04 02:28:27 +00:00
or if the customer doesn't release payment after delivery
2023-05-29 10:14:01 +00:00
Reference: https://resilience365.com/monero-multisig-how-to/