Skip to content

Commit 4d06777

Browse files
committed
chore: add local node config
1 parent 0909efa commit 4d06777

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hardhat.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ const config: HardhatUserConfig = {
134134
},
135135
hardfork: 'london',
136136
},
137-
ganache: {
137+
local: {
138138
chainId: 1337,
139-
url: 'http://localhost:8545',
139+
url: 'http://127.0.0.1:8545',
140140
gasPrice: 300000000000, // 300 gwei
141141
},
142142
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"clean": "rm -rf build/ cache/ dist/",
8282
"compile": "hardhat compile",
8383
"deploy": "scripts/predeploy && hardhat migrate",
84-
"deploy-hardhat": "yarn deploy --force --network hardhat",
84+
"deploy-local": "yarn deploy --force --network local",
8585
"deploy-rinkeby": "yarn deploy --force --network rinkeby --graph-config config/graph.rinkeby.yml",
8686
"deploy-goerli": "yarn deploy --force --network goerli --graph-config config/graph.goerli.yml",
8787
"predeploy": "scripts/predeploy",

0 commit comments

Comments
 (0)