Skip to content

Commit

Permalink
fix: make fork URL configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybayblade committed Feb 22, 2024
1 parent 6ca1c5b commit 6f3e98f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
FORK_URL=
NODE_ENV=
8 changes: 4 additions & 4 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ module.exports = {
defaultNetwork: "hardhat",
networks: {
hardhat: {
forking: {url: "https://lb.nodies.app/v1/406d8dcc043f4cb3959ed7d6673d311a"},
chainId: 100,
port: process.env.PORT || 8545,
forking: { url: process.env.FORK_URL },
chainId: process.env.CHAIN_ID || 100,
port: process.env.PORT || 8545,
},
},

};

0 comments on commit 6f3e98f

Please sign in to comment.