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

12 lines
441 B
PHP

<?php
declare(strict_types=1);
use Illuminate\Support\Facades\Route;
use Mod\Names\Controllers\NamesController;
Route::get('/available/{name}', [NamesController::class, 'available']);
Route::get('/lookup/{name}', [NamesController::class, 'lookup']);
Route::get('/search', [NamesController::class, 'search']);
Route::get('/directory', [NamesController::class, 'directory']);
Route::post('/register', [NamesController::class, 'register']);