@extends('lethean::layout') @section('title', 'Names') @section('content')

.lthn Name Directory

{{ $total }} names registered on the Lethean blockchain.

@foreach($aliases as $alias) @php $comment = $alias['comment'] ?? ''; $type = 'user'; if (str_contains($comment, 'type=reserved')) $type = 'reserved'; elseif (str_contains($comment, 'type=gateway')) $type = 'gateway'; elseif (str_contains($comment, 'type=service')) $type = 'service'; @endphp @endforeach
Name Type Details
{{ $alias['alias'] ?? '' }}.lthn {{ ucfirst($type) }} @if($type === 'gateway') @php preg_match('/cap=([^;]+)/', $comment, $m); @endphp {{ $m[1] ?? '' }} @elseif($type === 'service') @php preg_match('/cap=([^;]+)/', $comment, $m); @endphp {{ $m[1] ?? '' }} @elseif($type === 'reserved') HNS protected @else — @endif
@endsection