Skip to main content

The Middleware

onboarding architecture

Components:

  • Traders: Within the system, there are multiple traders (for simplification we have 2), referred to as Trader 1 and Trader 2.
  • Agents: Agents play a pivotal role in facilitating trades between the two traders. Agents match orders for trades.
  • Blockchain: The architecture prominently features a blockchain component, central to various funds-related operations.

Actions:

  1. Agent Signature with Trade Parameters: Agent 1 initiates a signature process using the trade and sends the signature along with trade params to agent 2.
  2. Agent 1 Signature along with Trade Parameters: Agent 1's signature is combined with the trade parameters from both the parties and is sent to escrow.
  3. Trade Parameters and Signature Verification: The trade parameters, along with Agent 1's signature, are verified by escrow 1.
  4. Funds Transfer: Upon successful verification, funds are transferred to escrow 2 from escrow 1.
  5. Release Funds: Funds are released as a result of the trade from escrow 1 to both trader 1 and trader 2.

Note: This architecture is subject to change as the architecture evolves. Ensure that it is regularly updated to reflect the most current state of system's architecture.