You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

43 lines
985 B

import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import 'dotenv/config';
import "@openzeppelin/hardhat-upgrades";
const config: HardhatUserConfig = {
solidity: {
version:"0.8.24",
settings:{
optimizer: {
enabled: true,
runs: 1000,
},
}
},
networks:{
bscTest: {
url: "https://data-seed-prebsc-1-s1.bnbchain.org:8545",
accounts: [
process.env.ACCOUNT_PRIVATE as string,
],
gasPrice:10000000000
},
bscMain: {
url:'https://binance.llamarpc.com',
accounts:[
process.env.ACCOUNT_PRIVATE as string,
]
},
local: {
url: "http://127.0.0.1:8545/",
accounts: ["0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"],
},
},
etherscan:{
apiKey:process.env.ETHERSCAN_API_KEY
}
};
// npx hardhat verify --network bscTest 0x8F7d8242d1A60f177e7389Bad8A7680FA50f2B89
export default config;