mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-22 20:19:21 +00:00
document trade protocol messaging
This commit is contained in:
parent
b922b9eb73
commit
65bcd47446
5 changed files with 11 additions and 4 deletions
|
@ -32,7 +32,7 @@ Currently, efforts are focused in developing the core repository ('haveno'). If
|
||||||
|
|
||||||
## Trade protocol
|
## Trade protocol
|
||||||
|
|
||||||
See [docs/trade-protocol.md](docs/trade-protocol.md)
|
See [trade-protocol.md](docs/trade_protocol/trade-protocol.md)
|
||||||
|
|
||||||
## Keep in touch and help out!
|
## Keep in touch and help out!
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ Here are stored most of the docs of the Haveno project:
|
||||||
- [idea-import.md](idea-import.md) - Instructions for importing Haveno as an IntelliJ IDEA project (from Bisq))
|
- [idea-import.md](idea-import.md) - Instructions for importing Haveno as an IntelliJ IDEA project (from Bisq))
|
||||||
- [README.md](README.md) - This file
|
- [README.md](README.md) - This file
|
||||||
- [tor-upgrade.md](tor-upgrade.md) - Instructions for upgrading the Tor dependencies used by Haveno (from Bisq)
|
- [tor-upgrade.md](tor-upgrade.md) - Instructions for upgrading the Tor dependencies used by Haveno (from Bisq)
|
||||||
- [trade-protocol.md](trade-protocol.md) - The description of Haveno's trade protocol
|
- [trade-protocol.md](trade_protocol/trade-protocol.md) - The description of Haveno's trade protocol
|
||||||
|
|
||||||
Documents outside of this folder:
|
Documents outside of this folder:
|
||||||
|
|
||||||
|
|
1
docs/trade_protocol/trade-protocol.drawio
Normal file
1
docs/trade_protocol/trade-protocol.drawio
Normal file
File diff suppressed because one or more lines are too long
|
@ -8,7 +8,7 @@ Described here is the desired protocol for Haveno. Note that the discussion is s
|
||||||
- **Seller** - person selling XMR
|
- **Seller** - person selling XMR
|
||||||
- **Maker** - person making offer
|
- **Maker** - person making offer
|
||||||
- **Taker** - person taking offer
|
- **Taker** - person taking offer
|
||||||
- **Arbitrator** - person resolving potential disputes
|
- **Arbitrator** - entity resolving possible disputes
|
||||||
|
|
||||||
For each trade, a trader is a buyer or seller and a maker or taker.
|
For each trade, a trader is a buyer or seller and a maker or taker.
|
||||||
|
|
||||||
|
@ -31,3 +31,9 @@ For each trade, a trader is a buyer or seller and a maker or taker.
|
||||||
15. Buyer pays seller (e.g. sends ETH) outside of Haveno after at least a few confirmations.
|
15. Buyer pays seller (e.g. sends ETH) outside of Haveno after at least a few confirmations.
|
||||||
16. When the multisig deposits are available (after ~20 minutes) and payment is acknowledged, maker and taker sign to release funds from multisig to payout addresses, or one trader opens a dispute with the arbitrator.
|
16. When the multisig deposits are available (after ~20 minutes) and payment is acknowledged, maker and taker sign to release funds from multisig to payout addresses, or one trader opens a dispute with the arbitrator.
|
||||||
17. Arbitrator resolves dispute if applicable.
|
17. Arbitrator resolves dispute if applicable.
|
||||||
|
|
||||||
|
Note: all steps involving the arbitrator are automatic except resolving disputes.
|
||||||
|
|
||||||
|
## Protocol Messaging
|
||||||
|
|
||||||
|
See [trade-protocol.pdf](trade-protocol.pdf) for documentation of network messages used by the trade protocol.
|
BIN
docs/trade_protocol/trade-protocol.pdf
Normal file
BIN
docs/trade_protocol/trade-protocol.pdf
Normal file
Binary file not shown.
Loading…
Reference in a new issue