Twin Documentation
  • Overview
  • Consumer
  • Developer
  • Operations
Arquitectura
Flujos Técnicos
Base de Datos
Local SetupConventions
powered by Zudoku

Developer Guide

Technical documentation for the Twin platform engineering team.

Sections

SectionDescription
ArchitectureSystem design, service boundaries, and component diagrams
FlowsStep-by-step sequences for key operations (minting, bridging, rebalancing)
DatabaseER diagrams, migration guide, and data patterns
Local SetupGetting the monorepo running on your machine
ConventionsCoding standards, naming rules, and team agreements

Monorepo Overview

The codebase is organized as four sub-projects:

  • twin-backend -- NestJS + Fastify monorepo (API, cron, database, shared services)
  • twin-dashboard-frontend -- React 19 internal admin panel (MUI, Redux Toolkit, Nx)
  • twin-platform-frontend -- React 19 user-facing app (wagmi, RainbowKit, Vite)
  • twin-bridge -- LayerZero V2 cross-chain bridge contracts (Hardhat + Foundry)
Last modified on May 12, 2026
Conventions
On this page
  • Sections
  • Monorepo Overview