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>
11 lines
334 B
PHP
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']);
|