mirror of
https://github.com/Instadapp/dsa-polygon-migration.git
synced 2024-07-29 22:27:58 +00:00
Merge branch 'new-updates' of https://github.com/Instadapp/dsl-polygon-migration into new-updates
This commit is contained in:
commit
81a12be97d
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -4,4 +4,5 @@ node_modules
|
|||
cache
|
||||
artifacts
|
||||
|
||||
.env
|
||||
.env
|
||||
flatten
|
|
@ -1,39 +1,72 @@
|
|||
// Buidler
|
||||
require("@nomiclabs/hardhat-ethers");
|
||||
require("@nomiclabs/hardhat-waffle");
|
||||
require("@nomiclabs/hardhat-web3")
|
||||
require("hardhat-deploy");
|
||||
require("hardhat-deploy-ethers");
|
||||
|
||||
require("@nomiclabs/hardhat-etherscan");
|
||||
|
||||
require("dotenv").config();
|
||||
|
||||
const { utils } = require("ethers");
|
||||
|
||||
const ALCHEMY_ID = process.env.ALCHEMY_ID;
|
||||
const PRIVATE_KEY = process.env.PRIVATE_KEY;
|
||||
|
||||
// You need to export an object to set up your config
|
||||
// Go to https://hardhat.org/config/ to learn more
|
||||
|
||||
/**
|
||||
* @type import('hardhat/config').HardhatUserConfig
|
||||
*/
|
||||
// ================================= CONFIG =========================================
|
||||
module.exports = {
|
||||
solidity: "0.7.3",
|
||||
defaultNetwork: "hardhat",
|
||||
tenderly: {
|
||||
project: "team-development",
|
||||
username: "InstaDApp",
|
||||
forkNetwork: "1"
|
||||
},
|
||||
networks: {
|
||||
hardhat: {
|
||||
forking: {
|
||||
url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ID}`,
|
||||
blockNumber: 12070498,
|
||||
blockNumber: 12068005,
|
||||
},
|
||||
blockGasLimit: 12000000,
|
||||
},
|
||||
kovan: {
|
||||
url: `https://eth-kovan.alchemyapi.io/v2/${ALCHEMY_ID}`,
|
||||
accounts: [`0x${PRIVATE_KEY}`],
|
||||
gas: 12500000,
|
||||
accounts: [`0x${PRIVATE_KEY}`]
|
||||
},
|
||||
polygon: {
|
||||
url: 'https://rpc-mainnet.matic.network',
|
||||
mainnet: {
|
||||
url: `https://eth.alchemyapi.io/v2/${ALCHEMY_ID}`,
|
||||
accounts: [`0x${PRIVATE_KEY}`],
|
||||
timeout: 150000,
|
||||
gasPrice: parseInt(utils.parseUnits("93", "gwei"))
|
||||
},
|
||||
matic: {
|
||||
url: "https://rpc-mainnet.maticvigil.com/",
|
||||
accounts: [`0x${PRIVATE_KEY}`],
|
||||
timeout: 150000,
|
||||
gasPrice: parseInt(utils.parseUnits("1", "gwei"))
|
||||
}
|
||||
},
|
||||
solidity: {
|
||||
compilers: [
|
||||
{
|
||||
version: "0.7.6"
|
||||
},
|
||||
{
|
||||
version: "0.7.3",
|
||||
},
|
||||
{
|
||||
version: "0.7.0",
|
||||
},
|
||||
{
|
||||
version: "0.6.10",
|
||||
},
|
||||
{
|
||||
version: "0.6.8",
|
||||
}
|
||||
]
|
||||
},
|
||||
etherscan: {
|
||||
apiKey: process.env.ETHERSCAN
|
||||
}
|
||||
};
|
||||
|
||||
};
|
10258
package-lock.json
generated
10258
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user