text: const HDWalletProvider = require('truffle-hdwallet-provider');
  const fs = require('fs');
  const mnemonic = fs.readFileSync(".secret").toString().trim();
  const mnemonicTestnet = fs.readFileSync(".secret-testnet").toString().trim();
  
  module.exports = {
    networks: {
      development: {
        host: "127.0.0.1",     // Localhost (default: none)
        port: 8545,            // Standard BSC port (default: none)
        network_id: "*",       // Any network (default: none)
      },
      testnet: {
        provider: () => new HDWalletProvider(mnemonicTestnet, `https://data-seed-prebsc-1-s1.binance.org:8545`, 0, 10),
        network_id: 97,
        confirmations: 2,
        timeoutBlocks: 200,
        skipDryRun: true,
        from: '0xE375D169F8f7bC18a544a6e5e546e63AD7511581'
      },
      bsc: {
        provider: () => new HDWalletProvider(mnemonic, `https://bsc-dataseed1.binance.org`),
        network_id: 56,
        confirmations: 10,
        timeoutBlocks: 200,
        skipDryRun: true
      },
    },
  
    // Set default mocha options here, use special reporters etc.
    mocha: {
      // timeout: 100000
    },
  
    // Configure your compilers
    compilers: {
      solc: {
        //https://forum.openzeppelin.com/t/how-to-deploy-uniswapv2-on-ganache/3885
        version: "0.6.12",    // Fetch exact version from solc-bin (default: truffle's version)
        // docker: true,        // Use "0.5.1" you've installed locally with docker (default: false)
        settings: {          // See the solidity docs for advice about optimization and evmVersion
          optimizer: {
            enabled: true,
            runs: 200
          },
        }
      },
    }
  }