lthn.io/app/Mod/Trade/Routes/web.php
Claude 756be80d04
feat: complete module scaffolding — all 6 modules with controllers, routes, services
Modules built:
- Home: landing page with live chain stats and service directory
- Chain: DaemonRpc singleton, config, events
- Explorer: web + API controllers (block, tx, alias, search, stats)
- Names: TLD registrar (availability, lookup, directory, registration)
- Trade: DEX controllers + API (config, pairs, orders)
- Pool: dashboard + PoolClient service (stats, blocks, payments, miner)

Infrastructure:
- composer.json: lthn/lthn.io deps (core/php + laravel 12)
- Dockerfile: FrankenPHP with Caddy
- Caddyfile: PHP server config

Co-Authored-By: Charon <charon@lethean.io>
2026-04-03 16:26:17 +01:00

11 lines
334 B
PHP

<?php
declare(strict_types=1);
use Illuminate\Support\Facades\Route;
use Mod\Trade\Controllers\TradeController;
Route::get('/', [TradeController::class, 'index']);
Route::get('/swap', [TradeController::class, 'swap']);
Route::get('/p2p', [TradeController::class, 'p2p']);
Route::get('/orders', [TradeController::class, 'orders']);