lthn.io/app/Mod/Explorer/Boot.php
Claude 0899881138
feat(lthn.io): name registration API, Blade views, wallet RPC
- POST /v1/names/register endpoint with wallet RPC integration
- WalletRpc service for alias registration via daemon wallet
- Blade views for homepage, explorer, names directory, network status
- Explorer and Names modules with view namespaces and web controllers
- Pool endpoint graceful offline handling
- Explorer block detail, aliases, search views

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 23:04:27 +01:00

22 lines
513 B
PHP

<?php
declare(strict_types=1);
namespace Mod\Explorer;
use Core\Events\WebRoutesRegistering;
use Illuminate\Support\Facades\Route;
class Boot
{
public static array $listens = [
WebRoutesRegistering::class => 'onWebRoutes',
];
public function onWebRoutes(): void
{
app('view')->addNamespace('explorer', __DIR__ . '/Views');
Route::prefix('explorer')->group(__DIR__ . '/Routes/web.php');
Route::prefix('v1/explorer')->group(__DIR__ . '/Routes/api.php');
}
}