dolphinze is a cloud-based SaaS platform providing chain-agnostic, compliant, and programmable payroll infrastructure for global contractors. The system supports both fiat and crypto payouts, streamlining multi-currency disbursements for businesses and platforms that engage contractors.
The infrastructure serves two primary users:
At a high level, the platform follows standard platforms for web-based SaaS platforms. There’s a frontend hosted in Netlify and a backend exposing an API. The backend stores data in PostgreSQL and includes a number of background services which handle asynchronous responsibilities. The backend is hosted in DigitalOcean. User management is delegated to firebase which is a google service for user authentication.


Explanation:
Information enters the system synchronously via route handlers and asynchronously via the command queue.
Regardless of the source, information is persisted into an immutable event store and then used to evolve an in-memory state representing various aggregates (employers, contracts, payments, contractors, accounts, etc)
The event store servers a number of distinct functions:
Persistence - all input is persisted in terms of an immutable event store which serves as an authoritative history of past events that define the current state of the system and functions as a mechanism for a set of subscribers to react by emitting necessary info in the form of API requests to their party APIs.

This diagram illustrates the interaction between user roles, services, and integrations: