Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Created August 6, 2022 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuyasugano/9952ef794d8091f6b5d78af77065859c to your computer and use it in GitHub Desktop.
Save yuyasugano/9952ef794d8091f6b5d78af77065859c to your computer and use it in GitHub Desktop.
bsc-arbitrageur
/**
* @type import('hardhat/config').HardhatUserConfig
*/
require("@nomiclabs/hardhat-ethers");
require("@nomiclabs/hardhat-waffle");
require("@nomiclabs/hardhat-etherscan");
require("dotenv").config();
const mainnetEndpoint = process.env.MAINNET_ENDPOINT;
const mainnetKey = process.env.MAINNET_KEY;
const bscscanKey = process.env.BSCSCAN_KEY;
module.exports = {
solidity: {
version: "0.6.6",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
networks: {
mainnet: {
url: mainnetEndpoint,
accounts: [`0x${mainnetKey}`],
chainId: 56,
gas: "auto",
gasPrice: "auto",
}
},
etherscan: {
apiKey: bscscanKey
},
paths: {
sources: "./contracts",
tests: "./test",
cache: "./cache",
artifacts: "./artifacts"
},
mocha: {
timeout: 40000
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment