<?php
/**
 * Automatic wallet connection settings (WalletConnect / injected providers).
 *
 * Get your Project ID: https://cloud.reown.com → Create project → copy Project ID
 * Set via environment variable WALLETCONNECT_PROJECT_ID or edit the default below.
 */

$walletconnect_project_id = getenv('WALLETCONNECT_PROJECT_ID');
if ($walletconnect_project_id === false || trim($walletconnect_project_id) === '') {
    $walletconnect_project_id = '64e794f1d3e66849c3cad588a684a3de';
}

return [
    'project_id' => trim($walletconnect_project_id),
    'app_name'   => isset($sitename) ? $sitename : 'Crypto Wallet',
    'chains'     => [
        ['chainId' => 1,   'name' => 'Ethereum'],
        ['chainId' => 56,  'name' => 'BNB Smart Chain'],
        ['chainId' => 137, 'name' => 'Polygon'],
    ],
];
