Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions hardhat.config.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
require("@nomiclabs/hardhat-waffle");
require('dotenv').config();

module.exports = {
solidity: "0.7.5",
paths: {
artifacts: "./app/artifacts",
},
networks: {
localhost: {
url: "http://localhost:8545"
},
rinkeby: {
url: process.env.RINKEBY_URL,
accounts: [process.env.PRIVATE_KEY]
}
}
};
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"main": "index.js",
"scripts": {
"test": "npx hardhat test",
"start": "npm run deploy && npx parcel app/index.html",
"deploy": "npx hardhat run scripts/deploy.js --network rinkeby"
"start": "npx hardhat run --network localhost scripts/deploy.js && npx parcel app/index.html",
"deploy": "npx hardhat run --network localhost scripts/deploy.js "
},
"keywords": [],
"author": "",
Expand All @@ -15,8 +15,7 @@
"> 5%"
],
"dependencies": {
"dotenv": "^8.2.0",
"hardhat": "^2.0.3"
"hardhat": "^2.0.3",
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.0",
Expand All @@ -25,6 +24,7 @@
"chai": "^4.2.0",
"ethereum-waffle": "^3.2.0",
"ethers": "^5.0.19",
"parcel": "^2.3.2",
"sass": "^1.29.0"
}
}