Skip to content

Swap Executor #9

@chappjc

Description

@chappjc

A swap executor is needed to coordinate the atomic swaps as described in Atomic Settlement between one or more clients whose orders have been matched by the Order Matcher.

The swap executor will interface with:

  1. The asset backends, for txn monitoring (receive broadcast ntfns and track confirmations) and validation (sufficient UTXO value, correct contract amount, etc.).
  2. The communications hub, to: (a) inform clients of the match, (b) receive swap transaction details from the clients, (c) send swap transactions to the clients. Alternatively, the market manager can handle comms for these events, which would be notified to the market, who owns the swapper.
  3. The order matcher, from which it will receive the matched order, including amounts and account public keys. The market manager will relay the matches to the swap executor.
  4. The market manager, which controls the swap executor by instantiating executors and receiving swap outcomes from the executor.

Metadata

Metadata

Assignees

Labels

serverserver components

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions