// Check environment variables for trading
console.log('🔍 Environment Variable Check:');
console.log('SOLANA_PRIVATE_KEY exists:', !!process.env.SOLANA_PRIVATE_KEY);
console.log('SOLANA_RPC_URL exists:', !!process.env.SOLANA_RPC_URL);

if (process.env.SOLANA_PRIVATE_KEY) {
  try {
    const parsed = JSON.parse(process.env.SOLANA_PRIVATE_KEY);
    console.log('Private key is valid JSON array with length:', parsed.length);
  } catch (e) {
    console.log('Private key parse error:', e.message);
  }
}
