Commit graph

103 commits

Author SHA1 Message Date
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
Claude
756be80d04
feat: complete module scaffolding — all 6 modules with controllers, routes, services
Modules built:
- Home: landing page with live chain stats and service directory
- Chain: DaemonRpc singleton, config, events
- Explorer: web + API controllers (block, tx, alias, search, stats)
- Names: TLD registrar (availability, lookup, directory, registration)
- Trade: DEX controllers + API (config, pairs, orders)
- Pool: dashboard + PoolClient service (stats, blocks, payments, miner)

Infrastructure:
- composer.json: lthn/lthn.io deps (core/php + laravel 12)
- Dockerfile: FrankenPHP with Caddy
- Caddyfile: PHP server config

Co-Authored-By: Charon <charon@lethean.io>
2026-04-03 16:26:17 +01:00
Claude
77cc45dd83
feat: lthn.io CorePHP app — TLD website + blockchain services
Modules:
- Chain: daemon RPC client (DaemonRpc singleton, cached queries)
- Explorer: block browser, tx viewer, alias directory, search, stats API
- Names: .lthn TLD registrar portal (availability check, lookup, directory)
- Trade: scaffold (DEX frontend + API)
- Pool: scaffold (mining pool dashboard)

Replaces 5 Node.js containers (5.9GB) with one FrankenPHP app.
Built on CorePHP framework pattern from host.uk.com.

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