Skip to content

Commit 32f69d9

Browse files
authored
Ethers6 supports(#44)
* periodic commit * done
1 parent d1bd1f7 commit 32f69d9

File tree

8 files changed

+5841
-17071
lines changed

8 files changed

+5841
-17071
lines changed

hardhat.config.js

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
11
require('dotenv').config()
22

3-
require("@nomiclabs/hardhat-ethers")
3+
//require("@nomiclabs/hardhat-ethers")
44
require('hardhat-docgen')
55
require('hardhat-deploy')
6-
require("@nomiclabs/hardhat-waffle")
6+
77
require("@nomiclabs/hardhat-web3")
8-
require("@nomiclabs/hardhat-etherscan")
9-
require("solidity-coverage")
10-
require("hardhat-gas-reporter")
8+
//require("@nomiclabs/hardhat-etherscan")
9+
1110
//require("hardhat-docgen")
1211
require("@hardhat-docgen/core")
1312
//require("@hardhat-docgen/markdown")
1413
require("./docgen-custom-markdown")
1514
require('hardhat-contract-sizer')
1615
require("hardhat-gas-trackooor");
1716

17+
require("@nomicfoundation/hardhat-toolbox");
18+
require("@nomicfoundation/hardhat-chai-matchers");
19+
1820
const kovanURL = `https://eth-kovan.alchemyapi.io/v2/${process.env.ALCHEMY_KOVAN}`
1921
const goerliURL = `https://eth-goerli.alchemyapi.io/v2/${process.env.ALCHEMY_GOERLI}`
2022
const rinkebyURL = `https://rinkeby.infura.io/v3/${process.env.INFURA_ID_PROJECT}` //`https://eth-rinkeby.alchemyapi.io/v2/${process.env.ALCHEMY_RINKEBY}`
2123
const bscURL = 'https://bsc-dataseed.binance.org' //`https://eth-rinkeby.alchemyapi.io/v2/${process.env.ALCHEMY_RINKEBY}`
2224
const bsctestURL = 'https://data-seed-prebsc-1-s1.binance.org:8545';
2325
const mainnetURL = `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_MAINNET}`
2426
const maticURL = `https://polygon-mainnet.g.alchemy.com/v2/${process.env.ALCHEMY_MATIC}`
25-
const mumbaiURL = 'https://matic-mumbai.chainstacklabs.com';
27+
const mumbaiURL = 'https://polygon-mumbai-bor.publicnode.com';//'https://matic-mumbai.chainstacklabs.com';
2628
const arbitrumURL = `https://arbitrum-one.publicnode.com`;
2729
//const avalancheURL = `https://endpoints.omniatech.io/v1/avax/mainnet/public`;
2830
const avalancheURL = `https://avalanche-c-chain.publicnode.com`;
@@ -88,7 +90,7 @@ module.exports = {
8890
polygon: {
8991
url: maticURL,
9092
chainId: 137,
91-
//gasPrice: "auto",
93+
gasPrice: "auto",
9294
accounts: [
9395
process.env.private_key,
9496
process.env.private_key_auxiliary,
@@ -101,7 +103,7 @@ module.exports = {
101103
polygonMumbai: {
102104
url: mumbaiURL,
103105
chainId: 80001,
104-
//gasPrice: "auto",
106+
gasPrice: "auto",
105107
accounts: [
106108
process.env.private_key_auxiliary,
107109
process.env.private_key_auxiliary,

0 commit comments

Comments
 (0)