truffle-config.js

PHOTO EMBED

Sun Jun 19 2022 14:41:03 GMT+0000 (Coordinated Universal Time)

Saved by @alefl10 #javascript

module.exports = {
  networks: {
    development: {
    host: "127.0.0.1",	 // Localhost (default: none)
    port: 7545,		 // Standard Ethereum port (default: none)
    network_id: "*",	 // Any network (default: none)
    },
  },
    contracts_build_directory: "./artifacts/",
    
  // Configure your compilers
  compilers: {
    solc: {	
      version: "^0.8.7",
    
    // See the solidity docs for advice
    // about optimization and evmVersion
      optimizer: {
      enabled: false,
      runs: 200
      },
      evmVersion: "byzantium"
    }
  }
  };
  
content_copyCOPY