Commit graph

4 commits

Author SHA1 Message Date
Claude
aebb9b3d5d
feat: CorePHP packages integrated — tenant, commerce, api
Symlinked core-api, php-commerce, php-tenant into app/Core/.
All migrations ran (50 tables). Tenant feature seeder ran.
Workspace 'Lethean CIC' created with admin user Charon and
'Lethean Registrar' namespace. SetupWorkspace artisan command
for repeatable provisioning.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 12:44:43 +01:00
Claude
5d38d09c3a
wip: FrankenPHP container setup (Octane + Supervisor)
Dockerfile from hostuk (FrankenPHP 1-php8.5), stripped scorer binary.
Supervisor config simplified for lthn.io (no horizon/reverb).
Octane + Predis installed. docker-compose.yml with Traefik labels,
host.docker.internal for daemon/wallet/LNS access, file cache.

TODO: Fix view namespace resolution inside container (localhost
doesn't match Lethean $domains). Need to add localhost to Lethean
$domains or test with proper Host header.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 10:54:20 +01:00
Claude
41a90cbff8
feat: lthn.io API serving live chain data
Fixed: basePath self→static binding, namespace detection, event wiring,
SQLite cache, file cache driver. All Mod Boot classes converted to
$listens pattern for lifecycle event discovery.

Working endpoints:
- /v1/explorer/info — live chain height, difficulty, aliases
- /v1/explorer/stats — formatted chain statistics
- /v1/names/directory — alias directory grouped by type
- /v1/names/available/{name} — name availability check
- /v1/names/lookup/{name} — name details

Co-Authored-By: Charon <charon@lethean.io>
2026-04-03 17:17:42 +01:00
Claude
48272c6072
feat: add Website modules — domain-scoped route registration
Website modules per CorePHP pattern:
- Website\Lethean: lthn.io homepage (domain: lthn.io)
- Website\Explorer: block explorer (domain: explorer.lthn.io)
- Website\Names: TLD registrar (domain: names.lthn.io)
- Website\Trade: DEX frontend (domain: trade.lthn.io)
- Website\Pool: mining pool (domain: pool.lthn.io)

Each binds to its subdomain via DomainResolving event and
falls back to path prefix (/explorer, /names, etc) on lthn.io.
Autoloader updated with Website\ namespace.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-03 16:34:55 +01:00