Step 2 of 9

Step 2: Create Dual Contracts

Trader can create contracts as either buyer or supplier, managing both sides of trades.

📍 Page Location

URL: /create-contract

📸 Visual Representation of the Page

Step 2: Create Dual Contracts

Visual representation of Step 2: Create Dual Contracts

This page shows: Contract creation form works the same, but trader can specify their role. They can create contracts ...

🎨 Detailed Visual Description

Contract creation form works the same, but trader can specify their role. They can create contracts where they are the buyer (with external supplier) or supplier (with external buyer).

Key Visual Elements:

  • Dual role selection
  • Flexible contract creation
  • Counterparty management

⚙️ Backend Process

API Endpoint: POST /api/contracts

Process Flow:
1. Trader can set buyerEmail or supplierEmail to their own email
2. System allows trader in both roles
3. Creates contract with trader as one party

Database Operations:

  • Table: database.contracts
  • Action: Create trader contract

➡️ Next Action

Trader manages contracts from both perspectives