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

23 lines
476 B
PHP

<?php
declare(strict_types=1);
namespace Mod\Chain;
use Core\Events\WebRoutesRegistering;
use Mod\Chain\Services\DaemonRpc;
use Mod\Chain\Services\WalletRpc;
class Boot
{
public static array $listens = [
WebRoutesRegistering::class => 'onBoot',
];
public function onBoot(): void
{
app('config')->set('chain', require __DIR__ . '/config.php');
app()->singleton(DaemonRpc::class);
app()->singleton(WalletRpc::class);
}
}