lthn.io/app/Mod/Names/NamesService.php

39 lines
906 B
PHP
Raw Permalink Normal View History

<?php
declare(strict_types=1);
namespace Mod\Names;
/**
* Names service definition for the CorePHP service registry.
*
* $service = NamesService::definition();
* echo $service['code']; // 'names'
*/
class NamesService
{
public static function definition(): array
{
return [
'code' => 'names',
'module' => 'Mod\\Names',
'name' => '.lthn Registrar',
'tagline' => 'Blockchain domain name registration and DNS management',
'description' => 'Register .lthn names on-chain, manage DNS records via ITNS sidechain, sunrise period claims.',
'icon' => 'globe',
'color' => '#818cf8',
'sort_order' => 20,
];
}
public static function version(): string
{
return '1.0.0';
}
public static function dependencies(): array
{
return ['chain'];
}
}