Vaultix is a modern, blockchain-powered escrow platform designed to safeguard online transactions by securely holding funds until all conditions are fulfilled. Built on the Stellar blockchain, it automates fund locking, milestone verification, and releases via smart contracts, minimising disputes and ensuring transparency for every step. With real-time updates and robust security, Vaultix transforms peer-to-peer trades into reliable, trustless experiences—eliminating the risks of traditional payment methods.
Tailored for buyers and sellers in emerging markets like Africa, Vaultix supports freelancers, e-commerce merchants, and small businesses handling cross-border deals in XLM or custom Stellar assets. Whether you're a creator delivering digital services or a buyer acquiring goods, the platform promotes fairness, low fees, and instant settlements, fostering economic inclusion through decentralised finance.
- Secure Fund Holding: Locks payments on-chain until milestones are met.
- Buyer & Seller Protection: Automated safeguards against non-delivery or non-payment.
- Transaction Milestone Tracking: Real-time progress monitoring with notifications.
- Automated Fund Release: Stellar-based smart contracts trigger payouts on confirmation.
- Dispute Resolution: Structured mediation with admin oversight.
- User Authentication: JWT/OAuth for secure access.
- Real-Time Status Updates: Live dashboards for all parties.
- Admin Monitoring: Centralised tools for oversight and analytics.
- Frontend: Next.js 15, TypeScript, Tailwind CSS.
- Backend: Node.js / NestJS, PostgreSQL, Prisma ORM.
- Blockchain: Stellar Blockchain, Stellar SDK (JS) for escrow and settlements.
- Authentication: JWT / OAuth.
- Payments: Stellar Lumens (XLM) or custom assets.
- Monorepo: pnpm workspaces with TurboRepo for shared utilities and efficient builds.
Vaultix is structured as a monorepo to streamline development across frontend, backend, and shared libraries. This setup enables independent service scaling while reusing components like auth helpers and Stellar utils.
vaultix/
├── apps/
│ ├── frontend/ # Next.js app (UI, dashboards)
│ └── backend/ # NestJS API (escrow logic, DB ops)
├── packages/
│ ├── ui/ # Shared components (Tailwind/ShadCN)
│ └── stellar-sdk/ # Stellar wrappers (transactions, queries)
├── prisma/ # Database schema/migrations (shared)
├── .pnpm-workspace.yaml # pnpm config for workspaces
├── turbo.json # Build/dev pipelines
└── .env.example # Root env template
For workflows, see DEVELOPMENT.md. API docs in API.md.
- Node.js 18+ (nodejs.org).
- pnpm (install:
npm install -g pnpm). - PostgreSQL 14+ (postgresql.org).
- Stellar testnet wallet (Freighter/Lobster; freighter.app).
- Git (for cloning).
- Docker (optional, for DB; docker.com).
-
Clone the repository:
git clone https://github.com/yourusername/vaultix.git cd vaultix -
Install dependencies:
pnpm install
- Set up PostgreSQL: Create
vaultix_dband run migrations:npx prisma migrate dev --name init - Copy
.env.exampleto.envand configure:DATABASE_URL="postgresql://username:password@localhost:5432/vaultix_db" JWT_SECRET="your-super-secret-jwt-key" STELLAR_NETWORK="testnet" # "mainnet" for production WALLET_SECRET="your-stellar-wallet-secret" # For dev txs - Stellar network: Fund testnet wallet at laboratory.stellar.org. For mainnet, use real assets.
- Launch with TurboRepo:
pnpm turbo run dev- Frontend: http://localhost:3000.
- Backend: http://localhost:9000.
- Test escrow: Connect wallet, initiate a mock transaction.
- Lint/type-check:
pnpm turbo run lint pnpm turbo run type-check - Unit/integration:
(Jest for JS/TS, Prisma mocks for DB.)
pnpm turbo run test - E2E:
(Playwright; requires testnet.)
pnpm turbo run test:e2e
- Frontend/Backend: Vercel (frontend), Render/AWS (backend)—link GitHub, add env vars.
- Database: Supabase or managed PostgreSQL.
- Production: Set
STELLAR_NETWORK=mainnet; CI/CD via GitHub Actions.
- Initiate: Buyer locks XLM via Stellar tx.
- Verify: Seller completes milestones; buyer approves.
- Release: Auto-payout on confirmation or dispute resolution.
- Buyer: Funds escrow, confirms delivery.
- Seller: Tracks progress, claims funds.
- Admin: Oversees, arbitrates.
- Transaction views/filters.
- Account freezes.
- Dispute mediation.
- Analytics reports.
- On-chain Stellar verification.
- Escrow via SDK/smart contracts.
- Multi-sig for high-value.
- Encrypted APIs, 2FA, audit logs.
Contributions welcome to bolster Vaultix's trust features!
- Issues: Report bugs with repro/env details.
- Features: Discuss in GitHub Discussions.
- PRs:
- Branch:
git checkout -b feat/your-feature. - Code/test/lint.
- Commit: "feat: add milestone notifications".
- PR to
main.
- Branch:
- Monorepo tips:
pnpm turbo run build --filter=.... Follow CONTRIBUTING.md and Code of Conduct.
MIT. See LICENSE.
Pioneering secure DeFi escrow on Stellar for African and global markets. 🚀
Built with ❤️. Join Discord or issue for support.