text: // imple for ropsten network.
  require('dotenv').config();
  
  const path = require("path");
  var HDWalletProvider = require("truffle-hdwallet-provider");
  var mnemonic = process.env.MNEMONIC;
  var ropsten_endpoint = process.env.ROPSTEN_ENDPOINT;
  
  module.exports = {
    // See <http://truffleframework.com/docs/advanced/configuration>
    // to customize your Truffle configuration!
    contracts_build_directory: path.join(__dirname, "client/src/contracts"),
    networks: {
      develop: {
        port: 8545
      },
      ganache: {
        host: "127.0.0.1",     // Localhost (default: none)
        port: 7545,            // Standard Ethereum port (default: none)
        network_id: "*",       // Any network (default: none)
      },
      ropsten: {
        provider: () => {
          return new HDWalletProvider(
            mnemonic,
            ropsten_endpoint
          );
        },
        network_id: 3,       // Ropsten's id
        gas: 5500000,        // Ropsten has a lower block limit than mainnet
        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 )
      },
    }
  };
  