amm-arbitrageur hardhat.config.ts
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
import { task, HardhatUserConfig } from 'hardhat/config'; | |
import '@typechain/hardhat'; | |
import '@nomiclabs/hardhat-waffle'; | |
import deployer from './.secret'; | |
require("dotenv").config(); | |
const BSC_ENDPOINT = process.env.BSC_ENDPOINT; | |
const config: HardhatUserConfig = { | |
solidity: { version: '0.7.6' }, | |
networks: { | |
hardhat: { | |
// loggingEnabled: true, | |
forking: { | |
url: BSC_RPC, | |
enabled: true, | |
}, | |
accounts: { | |
accountsBalance: '1000000000000000000000000', // 1 mil ether | |
}, | |
}, | |
bsc: { | |
url: BSC_ENDPOINT, | |
chainId: 0x38, | |
accounts: [deployer.private], | |
}, | |
}, | |
mocha: { | |
timeout: 40000, | |
}, | |
}; | |
/** | |
* @type import('hardhat/config').HardhatUserConfig | |
*/ | |
module.exports = config; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment