Vytrosti is a premium temporary rental platform leveraging Stellar USDT payments and Trustless Work escrow smart contracts.
The platform guarantees secure deposits for tenants and payment guarantees for property owners without custodial escrows, utilizing double-entry bookkeeping ledgers and Stellar testnet pool rotation accounts.
Vytrosti follows a strict domain-driven architecture designed for high security and transactional auditability:
- Separation of Concerns: Domain logic is strictly separated from infrastructure services (Stellar, Trustless Work, database client).
-
Double-Entry Ledger Balancing: Every single reservation ledger entry balances debits and credits:
$$\sum \text{Debit} == \sum \text{Credit}$$ - No Custodial Escrow: All security deposits route through smart contracts via Trustless Work.
-
Wallet Pool Rotator: Ephemeral pool accounts rotate states (
available->assigned->settling->cooldown) to detect and match payments safely without relying on transaction memos. -
No Crypto Jargon: Client-facing copy replaces blockchain terms (e.g., Wallet
$\rightarrow$ Coordinates, Transaction$\rightarrow$ Transfer, Blockchain$\rightarrow$ Protocol).
For details, refer to the project rule files under docs/rules/:
- Architecture Guidelines
- Stellar Integration Details
- Trustless Work Contracts
- Ledger Rules
- UI & Design System (Vitrosti Precision)
- Definition of Done & Compliance
- Node.js:
v20or higher - PostgreSQL: A running instance (or Neon Serverless Postgres URL)
Install all required dependencies:
pnpm installRun database migrations and seed default listings/mock users:
# Run migrations & seed data
pnpm run db:setupOr run them individually:
# Run migrations
pnpm run db:migrate
# Seed database
pnpm run db:seed- Development Server: Start Next.js in development mode.
pnpm run dev
- Production Build: Compile the TypeScript project and generate the Next.js optimized build.
pnpm run build
- Compliance Scanner (Verify Done): Verify that all code meets the security, linting, and architectural standards before committing.
pnpm run verify-done
Vytrosti supports both mock operations and real Stellar Testnet operations.
- QR-Based Payments: Reservations display a secure QR code and copyable Stellar coordinates to pay using any Stellar wallet.
- Manual Verification: Guests and hosts can trigger the payment verification poller directly from the UI to update the reservation status instantly.
- Toasts for Feedback: Real-time progress, errors, and success statuses are indicated in modern toast notifications powered by HeroUI.
For step-by-step instructions on setting up Testnet credentials, establishing USDT trustlines, and running/triggering the validator poller, please refer to the: 👉 Stellar Testnet Setup Guide
For testing login flows, Neon Auth, and sessions locally: 👉 Testing Authentication Guide