Skip to main content
Version: Next

Architecture and tech stack

tech stacks

offramp flow

High Level Diagram of System

hld

Core Technology Stack

ComponentTechnologyPurpose
Backend MicroserviceNestJsMain application server, REST API endpoints
DatabasePostgreSQL + PrismaData persistence and type-safe queries
Smart ContractsSolidity + HardhatBlockchain interaction and business logic
IndexingThe GraphBlockchain data indexing and GraphQL API
ContainerizationDockerApplication containerization and deployment
MultiSigSafe/GnosisWallet for the MultiSig operations
Offramping ServiceKotaniPayOfframping Service for crypto conversion to fiat

Folder Structure

rahat-project-c2c/ ├── .github/ # CI workflows, issue/pr templates ├── abis/ # Auto-generated contract ABIs ├── apps/ │ ├── c2c/ # Frontend app for C2C dashboard (React + Nx) │ ├── c2c-e2e/ # Cypress-based end-to-end tests │ ├── contracts/ # Hardhat smart-contract project │ ├── graph/ # Subgraph mappings & schema │ └── graph-old/ # Legacy subgraph (archived) ├── docs/ # Architecture docs, design specs └── libs/ # Shared packages (contract types, extensions, react-query hooks...)