Deal Creation

Deal creation begins when a broker initiates a new War Room session. This step defines the initial parameters for the OTC trade and generates the unique URL that participants will use to join.


Required Fields

Brokers must input:

Field
Description

Token

Token being exchanged

Amount

Quantity seller will deliver

Network

Ethereum or Solana

These parameters ensure minimum deal definition before participants join.


Optional Fields

The broker may also pre-fill:

  • Buyer wallet

  • Seller wallet

  • Notes

  • Expiration timestamp

  • Partner-specific metadata

These optional fields influence deal mode (see Deal Modes page).


Once the broker completes the form:

app.hagglr.trade/deal/XYZ123?ref=brokerABC

Each link contains:

  • A unique session ID

  • Partner attribution

  • Pre-commit deal parameters

The broker can distribute this link through any channel: Telegram, WhatsApp, Twitter, Discord, or groups.


Creation → Pre-Commit State

After creation, the deal enters Pre-Commit state.

During this stage, the broker may update:

  • Token

  • Amount

  • Expected wallets

  • Notes

  • Expiration

These updates remain allowed until both participants join.


Security Considerations & Additional Validation Rules

  • A broker cannot finalize a deal alone

  • No settlement occurs until both parties confirm and escrow

  • Parameters become immutable later (see Locking Rules)

  • A participant cannot join with a wallet assigned to the opposite role.

  • A wallet already connected for one role cannot be reused for the other.

  • If a user disconnects before commit, the role becomes available again.

Last updated