A B2B SaaS Fintech Platform for Secure Escrow Payments, Dispute Resolution, and Trust Verification.
| Resource | Link |
|---|---|
| π¨ Figma Design | View Design |
| π Live Project | Visit Website |
| π Postman Docs | API Documentation |
| βοΈ Backend API | API Server |
| πΊ YouTube Demo | Watch Video |
In the current global digital economy, B2B service transactions (freelance, consulting, software development) are plagued by a fundamental lack of security:
- Payment Risks: Clients are often forced to pay 50-100% upfront to "lock in" a provider, with no guarantee of quality.
- Delivery Risks: Providers often complete work only to face "scope creep" or clients who vanish without paying the final invoice.
- Complex Disputes: When things go wrong, there is no centralized, evidence-based system to resolve issues fairly.
- Opaque Reliability: General review systems are easily manipulated; there is no data-driven "Trust Score" linked to actual financial outcomes.
TrustLayer redefines how businesses interact by acting as a neutral, automated intermediary. Our platform ensures that trust is built into the protocol, not just the contract.
- Smart Escrow: When a contract starts, the client's funds are moved into a secure "Held" state.
- Verified Delivery: The provider submits their work through the platform.
- Outcome Verification: The client reviews the output. Only upon explicit verification are the funds released.
- Automated Arbitration: If a dispute arises, the funds remain locked until a resolution is reached based on submitted evidence.
- Multi-Factor Authentication: Secure login using JWT and Google OAuth 2.0.
- Role-Based Access Control (RBAC): Distinct interfaces and permissions for 'Clients', 'Freelancers', and 'Admins'.
- Escrow-as-a-Service: Automated holding and releasing of funds based on milestone verification.
- Transaction History: Immutable record of all financial movements for auditing and tax purposes.
- Evidence Vault: Securely upload screenshots, contracts, and documents as proof during a dispute.
- Resolution Tracking: Transparency into the status of active disputes and historical outcomes.
- Trust Scores: A mathematical reliability score calculated from successful project completion rates and dispute history.
- Service Marketplace: A curated directory where providers can list specialized services and clients can initiate secure contracts instantly.
- Sleek UI/UX: A modern, dark-themed interface built for professionals.
- Real-time Notifications: Stay updated on escrow status, new messages, and dispute updates.
| Layer | Technologies Used | Key Purpose |
|---|---|---|
| Frontend | React 19, Redux Toolkit, Tailwind CSS 4 | Core UI, State Management, Styling |
| Backend | Node.js, Express.js | API Architecture, Business Logic |
| Database | MongoDB Atlas, Mongoose | NoSQL Data Persistence |
| Auth | JWT, Bcrypt.js, Passport.js | Secure Sessions & Hashing |
| Storage | Multer | File Handling for Evidence |
| DevOps | Vercel (Frontend), Render (Backend) | CI/CD and Hosting |
We follow a modular, scalable architecture to ensure the codebase remains maintainable as the platform grows.
TrustLayer/
βββ π frontend/ # React + Vite Application
β βββ π src/
β β βββ π components/ # UI Atoms (Navbar, Cards, Modals, Buttons)
β β βββ π pages/ # Main Views (Dashboard, Escrow, Dispute, Settings)
β β βββ π store/ # Redux Slices (authSlice, transactionSlice)
β β βββ π services/ # API Interceptors & Axios Instance
β β βββ π hooks/ # Custom Hooks (useAuth, useEscrow)
β β βββ π layouts/ # Shared Layout Wrappers
β β βββ App.jsx # Routing & Global Providers
β βββ index.html # Entry Point & SEO Meta Tags
β
βββ π backend/ # Node.js + Express API
β βββ π src/
β β βββ π controllers/ # Route Handlers (Auth, Escrow, Dispute logic)
β β βββ π models/ # Mongoose Data Schemas
β β βββ π routes/ # API Endpoint Definitions
β β βββ π middleware/ # Auth Protection & Error Handlers
β β βββ π config/ # MongoDB Connection & Env Validation
β β βββ app.js # Middleware Orchestration
β βββ index.js # Entry Point (Server Startup)
β
βββ π uploads/ # Local Storage for Dispute Evidence
βββ .gitignore # Root Git Ignore Rules
βββ LICENSE # MIT License Terms
βββ README.md # Comprehensive Documentation
- Node.js (v18+)
- MongoDB Atlas Account
- Google Cloud Console Project (for OAuth)
git clone https://github.com/patelmanan112/TrustLayer.git
cd TrustLayercd backend
npm install
# Create a .env file:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_signing_key
CLIENT_ORIGIN=http://localhost:5173Run development server: npm run dev
cd frontend
npm install
# Create a .env file:
VITE_API_URL=http://localhost:5000Run development server: npm run dev
TrustLayer is built with SEO best practices:
- Semantic HTML5: Using
<header>,<main>,<footer>, and<section>tags. - Meta Tags: Optimized descriptions and keywords for indexing.
- Open Graph: Professional sharing previews for LinkedIn and Twitter.
- Performance: Optimized asset delivery for fast initial load times.
First impression for potential B2B partners.
- Smart Contract Integration: Moving escrow logic to Ethereum/Solana for decentralization.
- Multi-Currency Support: Allowing payments in USD, EUR, and Crypto.
- AI-Assisted Arbitration: Using AI to analyze evidence and suggest resolution paths.
- Mobile App: Dedicated iOS and Android applications.
Manan Patel
- π§ manan.patel.cg@gmail.com
- πΌ LinkedIn
- π» GitHub
This project is licensed under the MIT License - see the LICENSE file for details.
β Star this repo if you find it useful!



