PayD is a revolutionary payroll system that enables organizations to pay employees, contractors, and partners across different countries using blockchain-based digital assets. By leveraging Stellar's fast, low-cost network, PayD replaces traditional banking rails with near-instant, transparent, and cost-effective payments.
Key Benefits:
- β‘ Near-instant salary payments (seconds vs. days)
- π Transparent transaction tracking on-chain
- π° Lower cross-border fees (fraction of traditional banking)
- π Stable-value payouts with predictable conversion rates
Traditional international payroll faces significant challenges:
| Problem | Impact |
|---|---|
| International bank delays | Payments take 2β5 business days |
| High transfer fees | SWIFT + intermediary fees (often 5-15%) |
| Currency conversion issues | Unpredictable FX rates and hidden fees |
| Lack of proof | Difficult to verify payment delivery |
| Contractor/freelancer payments | Many unbanked or prefer digital methods |
Instead of routing through expensive banking infrastructure:
All transactions occur on-chain with full transparency and auditability.
βββββββββββββββββββ ββββββββββββββββ βββββββββββββββββββ β Organization β β Backend β β Stellar β β Dashboard ββββββ (API) ββββββ Network β β (Web App) β β β β β βββββββββββββββββββ ββββββββββββββββ βββββββββββββββββββ β β β βΌ βΌ βΌ βββββββββββββββββββ ββββββββββββββββ βββββββββββββββββββ β Employee β β Payroll β β Employee β β Onboarding β β Engine β β Wallets β βββββββββββββββββββ ββββββββββββββββ βββββββββββββββββββ β βΌ βββββββββββββββββββ β Local Anchors β β (Cash-out) β βββββββββββββββββββ
| Actor | Role |
|---|---|
| Employer | Funds payroll, schedules payments, manages employees |
| Employee/Contractor | Receives salary in digital assets, converts to local currency |
| Backend System | Handles payroll logic, transaction processing |
| Stellar Network | Processes fast, low-cost transactions |
| Anchor Services | Converts digital assets to local bank/mobile money |
PayD utilizes Stellar's asset issuance capabilities to create organization-specific stable assets:
- Issuer Account: Controlled by the organization
- Backing: 1:1 with USD (or other stable currencies)
- Distribution: Through organization's distribution account
- Trustlines: Employees must accept the asset to receive payments
- Asset Issuance: Creating custom tokens for payroll
- Distribution Accounts: Managing bulk payments
- Trustlines: Employee wallet acceptance
- Anchors: Local currency conversion
- Fast Settlement: Sub-5 second transaction finality
- Employee Management: Add/remove employees with wallet addresses
- Salary Configuration: Set amounts, frequencies (weekly/monthly)
- Bulk Upload: CSV import for payroll lists
- Payment Scheduling: Automated recurring payments
- Analytics: Payroll history, total costs, FX tracking
- Salary Tracking: View incoming payments
- Transaction History: Complete on-chain records
- Balance Management: Asset balances and values
- Withdrawal Options: Multiple anchor services
- Wallet Integration: QR codes for easy setup
Automated Payment Flow:
- Checks scheduled payments at designated times
- Verifies employer account balance and authorization
- Signs and submits Stellar transactions
- Processes bulk payments efficiently
- Logs all transactions in database
- Sends notifications to employees
- Real-time Rates: Live asset-to-fiat conversion
- Anchor Fees: Transparent withdrawal costs
- Network Fees: Minimal Stellar transaction fees
- Multi-currency Support: Support for various local currencies
Every payment includes:
- Transaction Hash: Unique Stellar transaction ID
- Timestamp: Exact payment time
- On-chain Verification: Public ledger proof
- Audit Trail: Complete payment history
- React 19 - Modern UI framework
- TypeScript - Type-safe development
- Vite - Fast build tool
- Stellar Design System - Consistent UI components
- React Router - Client-side routing
- TanStack Query - Data fetching and caching
- Node.js - Runtime environment
- Express.js - API framework
- Stellar SDK - Blockchain integration
- PostgreSQL - Data persistence
- Redis - Caching and session management
- Stellar Network - Primary blockchain
- Soroban - Smart contracts (future expansion)
- Stellar Wallets Kit - Wallet integration
- Docker - Containerization
- GitHub Actions - CI/CD pipelines
- ESLint + Prettier - Code quality
- Husky - Git hooks
Ensure you have the following installed:
- Node.js v22+
- npm or yarn
- Rust (for Soroban contracts)
- Stellar CLI
- Docker (optional, for local development)
- Clone the repository:
git clone [https://github.com/your-org/payD.git](https://github.com/your-org/payD.git) cd payD Install dependencies: bash npm install Environment Setup: bash cp .env.example .env
Database Setup: bash
docker run --name payd-postgres -e POSTGRES_PASSWORD=mypassword -d postgres:15
Configuration Edit .env with the following key variables:
env
STELLAR_NETWORK=testnet # or mainnet STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
DATABASE_URL=postgresql://user:password@localhost:5432/payd
STELLAR_SECRET_KEY=your_issuer_secret_key ANCHOR_API_KEY=your_anchor_service_key
JWT_SECRET=your_jwt_secret Development Start the development server: bash npm run dev Build for production: bash npm run build Run tests: bash npm run test.