Skip to content

Commit

Permalink
Rename RPC_URL and add CHAIN_ID to dotenv.
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoquick committed Dec 16, 2021
1 parent e776f79 commit 83a696c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
RPC_URL=
PK=
CHAIN_ID=
4 changes: 2 additions & 2 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ module.exports = {
// }
},
testnet: {
url: process.env.FUJI_RPC_URL,
url: process.env.RPC_URL,
accounts: [`0x${process.env.PK}`],
chainId: 43113,
chainId: process.env.CHAIN_ID,
gas: "auto",
},
},
Expand Down

0 comments on commit 83a696c

Please sign in to comment.