lthn.io/app/Mod/Names/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

10 lines
299 B
PHP

<?php
declare(strict_types=1);
use Illuminate\Support\Facades\Route;
use Mod\Names\Controllers\NamesWebController;
Route::get('/', [NamesWebController::class, 'index']);
Route::get('/register', [NamesWebController::class, 'register']);
Route::get('/{name}', [NamesWebController::class, 'show']);