📍 Page Location
URL: /signup
📸 Visual Representation of the Page
Step 1: Trader Registration
🎨 Detailed Visual Description
Same signup form, but trader selects "Trader" role. This enables them to act as both buyer and supplier.
Key Visual Elements:
- Role selection
- Trader-specific permissions
⚙️ Backend Process
API Endpoint: POST /api/auth/register
Process Flow:
1. Creates user with role: "trader"
2. Sets up trader permissions
3. Enables dual-contract accessDatabase Operations:
- Table:
database.users - Action: Create trader user
➡️ Next Action
Trader completes KYC and wallet setup