text: const HDWalletProvider = require('@truffle/hdwallet-provider');
  require('dotenv').config();
  
  module.exports = {
    contracts_build_directory: './ui/src/contracts',
    networks: {
      development: {
        host: '127.0.0.1',
        port: 8545,
        network_id: '*'
      },
      ganache: {
        host: '127.0.0.1',
        port: 7545,
        network_id: '*'
      },
      live: {
        provider: () => {
          return new HDWalletProvider(process.env.MNEMONIC, process.env.RPC_URL);
        },
        network_id: '*',
        // ~~Necessary due to https://github.com/trufflesuite/truffle/issues/1971~~
        // Necessary due to https://github.com/trufflesuite/truffle/issues/3008
        skipDryRun: true
      },
      ropsten: {
        provider: () => {
          return new HDWalletProvider(process.env.MNEMONIC, process.env.RPC_URL);
        },
        network_id: '3',
        // ~~Necessary due to https://github.com/trufflesuite/truffle/issues/1971~~
        // Necessary due to https://github.com/trufflesuite/truffle/issues/3008
        skipDryRun: true
      }
    },
    compilers: {
      solc: {
        version: '0.6.6'
      }
    }
  };
  