mirror of
https://github.com/Instadapp/dsa-polygon-migration.git
synced 2024-07-29 22:27:58 +00:00
Added hardhat config
This commit is contained in:
parent
1498fd61a1
commit
d3315d0f25
|
@ -1,3 +1,4 @@
|
||||||
ALCHEMY_ID="<>"
|
ALCHEMY_ID="<>"
|
||||||
|
QUIKNODE_ID="<>"
|
||||||
ETHERSCAN="<>"
|
ETHERSCAN="<>"
|
||||||
PRIVATE_KEY="<>"
|
PRIVATE_KEY="<>"
|
|
@ -13,19 +13,27 @@ const { utils } = require("ethers");
|
||||||
|
|
||||||
const ALCHEMY_ID = process.env.ALCHEMY_ID;
|
const ALCHEMY_ID = process.env.ALCHEMY_ID;
|
||||||
const PRIVATE_KEY = process.env.PRIVATE_KEY;
|
const PRIVATE_KEY = process.env.PRIVATE_KEY;
|
||||||
|
const QUIKNODE_ID = process.env.QUIKNODE_ID;
|
||||||
// ================================= CONFIG =========================================
|
// ================================= CONFIG =========================================
|
||||||
module.exports = {
|
module.exports = {
|
||||||
defaultNetwork: "hardhat",
|
// defaultNetwork: "hardhat",
|
||||||
tenderly: {
|
tenderly: {
|
||||||
project: "team-development",
|
project: "team-development",
|
||||||
username: "InstaDApp",
|
username: "InstaDApp",
|
||||||
forkNetwork: "1"
|
forkNetwork: "1"
|
||||||
},
|
},
|
||||||
networks: {
|
networks: {
|
||||||
hardhat: {
|
// hardhat: { // mainnet forking
|
||||||
|
// forking: {
|
||||||
|
// url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ID}`,
|
||||||
|
// blockNumber: 12240294,
|
||||||
|
// },
|
||||||
|
// blockGasLimit: 12000000,
|
||||||
|
// },
|
||||||
|
hardhat: { // matic forking
|
||||||
forking: {
|
forking: {
|
||||||
url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ID}`,
|
url: `https://cold-red-river.matic.quiknode.pro/${QUIKNODE_ID}/`,
|
||||||
blockNumber: 12240294,
|
blockNumber: 13317966,
|
||||||
},
|
},
|
||||||
blockGasLimit: 12000000,
|
blockGasLimit: 12000000,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user