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>
10 lines
318 B
PHP
10 lines
318 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'daemon_rpc' => env('DAEMON_RPC', 'http://127.0.0.1:46941/json_rpc'),
|
|
'wallet_rpc' => env('WALLET_RPC', 'http://127.0.0.1:46944/json_rpc'),
|
|
'cache_ttl' => (int) env('CHAIN_CACHE_TTL', 10),
|
|
'network' => env('CHAIN_NETWORK', 'testnet'), // testnet or mainnet
|
|
];
|