Created
August 6, 2022 12:58
-
-
Save yuyasugano/9952ef794d8091f6b5d78af77065859c to your computer and use it in GitHub Desktop.
bsc-arbitrageur
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @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