The distributor contract lets you create N streams in one transaction. There's no UI for it. This is the whole point of the protocol for teams — pay 50 contributors in one tx instead of 50 separate ones.
Build a /payroll page with a multi-step flow:
- Pick mode — same rate for everyone, or custom amounts per person
- Add recipients — paste addresses manually, bulk paste CSV, or upload a CSV file
- Set token, rate (or per-person amounts), start/end dates
- Review screen showing total escrow cost and per-recipient breakdown, then confirm
Calls distributor.distribute() for uniform mode or distributor.distribute_custom() for custom amounts. Show a results screen after submission with success/failure per recipient.
Done when:
- Both distribute modes work
- CSV paste and file upload supported
- Total escrow cost shown before user confirms
- Results page shows what succeeded and what didn't
- Responsive on mobile
The distributor contract lets you create N streams in one transaction. There's no UI for it. This is the whole point of the protocol for teams — pay 50 contributors in one tx instead of 50 separate ones.
Build a
/payrollpage with a multi-step flow:Calls
distributor.distribute()for uniform mode ordistributor.distribute_custom()for custom amounts. Show a results screen after submission with success/failure per recipient.Done when: