Reforge
Architecture

Overall Tech Stack

Complete technology stack across smart contracts, backend services, web applications, and research tooling

The Reforge platform leverages modern, industry-standard tooling across every layer of the architecture, optimized for developer velocity, type safety, deterministic testing, and high-performance event processing.



Detailed Technology Breakdown

1. Smart Contract & Blockchain Layer

TechnologyVersion / ToolCategoryRole & Purpose
Solidity^0.8.24LanguageCore smart contract development with custom errors and transient storage support.
Foundryforge / castToolchainHigh-speed compilation, fuzzing, differential testing, and contract deployment.
AnvilLocal NodeTestingFast local Ethereum node with programmable RPC state manipulation and flash loan mocking.
OpenZeppelinv5.0LibrariesStandard ERC-20, SafeERC20, ReentrancyGuard, and Ownable implementations.
Sepolia TestnetEthereum L1NetworkPublic testnet deployment venue for end-to-end multi-agent auction trials.

2. Backend Infrastructure & Real-Time Pipeline

TechnologyVersion / ToolCategoryRole & Purpose
Node.jsv22 LTSRuntimeHigh-performance asynchronous execution runtime.
TypeScriptv5.xLanguageStrict end-to-end typing across data schemas, API contracts, and RPC calls.
Fastifyv4.xWeb FrameworkLow-overhead HTTP REST API server with built-in JSON schema validation.
viemv2.xWeb3 ClientModular, lightweight Ethereum client maintaining persistent WebSocket subscriptions.
Redis & BullMQv7.xMessage QueueIn-memory job queue managing high-priority liquidation discovery and auction timers.
PostgreSQLv16DatabasePersistent relational storage for historical auctions, bids, and simulated experiments.

3. Frontend & User Interfaces

TechnologyVersion / ToolCategoryRole & Purpose
Next.js16.3.0FrameworkReact 19 App Router framework with Turbopack compilation and SSR/SSG.
Tailwind CSSv4.0StylingModern utility-first CSS engine with dark/light mode CSS variables.
Fumadocsv16.xDocumentationHigh-performance MDX documentation engine with search, TOC, and Mermaid diagrams.
wagmi & viemLatestWeb3 React HooksReact hooks for Ethereum wallet connection, EIP-712 signing, and contract interactions.
Lucide IconsLatestIconsClean, consistent SVG icon set utilized throughout the UI.

4. Research & Scientific Modeling

TechnologyCategoryRole & Purpose
Python 3.12Core LanguageData science, statistical modeling, and simulation execution environment.
NumPy & SciPyComputationVectorized numerical modeling of borrower health factors and price trajectories.
PandasData AnalysisTabular data manipulation for large-scale multi-run auction benchmark logs.
Matplotlib & SeabornVisualizationPublication-quality chart generation for liquidation latency vs. bad debt trade-offs.
scikit-learn / XGBoostMachine LearningOptional predictive models for estimating optimal auction window lengths.

On this page