text: const HDWalletProvider = require('@truffle/hdwallet-provider');
  const infuraKey = process.env.INFURA_KEY;
  //
  const fs = require('fs');
  const mnemonic = fs.readFileSync("mnemonic").toString().trim();
  
  module.exports = {
    // Uncommenting the defaults below
    // provides for an easier quick-start with Ganache.
    // You can also follow this format for other networks;
    // see <http://truffleframework.com/docs/advanced/configuration>
    // for more details on how to specify configuration options!
    //
    networks: {
      bsctestnet: {
        provider: () => new HDWalletProvider(mnemonic, `https://data-seed-prebsc-1-s1.binance.org:8545`),
        network_id: '97',       // bsc testnet's id
        gas: 10000000,   
        gasPrice: 20000000000,     
        confirmations: 2,    // # of confs to wait between deployments. (default: 0)
        timeoutBlocks: 200,  // # of blocks before a deployment times out  (minimum/default: 50)
        skipDryRun: true     // Skip dry run before migrations? (default: false for public nets )
      },
      bscmainnet: {
        provider: () => new HDWalletProvider(mnemonic, `https://bsc-dataseed1.binance.org`),
        network_id: '56',       // bsc mainnet's id
        gas: 10000000,   
        gasPrice: 20000000000,     
        confirmations: 2,    // # of confs to wait between deployments. (default: 0)
        timeoutBlocks: 200,  // # of blocks before a deployment times out  (minimum/default: 50)
        skipDryRun: true     // Skip dry run before migrations? (default: false for public nets )
      },
      development: {
        host: "127.0.0.1",
        port: 7545,
        network_id: "*"
      },
    //  test: {
    //    host: "127.0.0.1",
    //    port: 7545,
    //    network_id: "*"
    //  }
    },
    //
    compilers: {
      solc: {
        version: "0.6.12"
      }
    }
  };
  