Skip to content

Commit

Permalink
Add hardhat match (#13)
Browse files Browse the repository at this point in the history
* Add hardhat match

* update env variable name
  • Loading branch information
arr00 authored Nov 5, 2023
1 parent f5e1b7a commit 5e581ef
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 3 deletions.
9 changes: 9 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import "@compound-finance/hardhat-match";
import { config as dotEnvConfig } from "dotenv";
dotEnvConfig();

Expand All @@ -13,6 +14,14 @@ const config: HardhatUserConfig = {
},
},
},
networks: {
mainnet: {
url: process.env.RPC_URL,
},
},
etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY,
},
};

export default config;
134 changes: 134 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
"test": "hardhat test",
"coverage": "hardhat coverage",
"build": "hardhat compile",
"lint:fix": "prettier --write */**.{sol,js,ts} && eslint --fix . --ext js,ts",
"lint:check": "concurrently \"prettier --check */**.{sol,js,ts}\" \"eslint . --ext js,ts\"",
"lint:fix": "prettier --write {*.{js,ts},**/*.{sol,js,ts}} && eslint --fix . --ext js,ts",
"lint:check": "concurrently \"prettier --check {*.{js,ts},**/*.{sol,js,ts}}\" \"eslint . --ext js,ts\"",
"prepare": "husky install"
},
"devDependencies": {
"@compound-finance/hardhat-match": "^1.0.0",
"@nomicfoundation/hardhat-toolbox": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
Expand All @@ -31,7 +32,6 @@
"lint-staged": "^13.2.3",
"prettier-plugin-solidity": "^1.1.3"
},
"dependencies": {},
"lint-staged": {
"*.{js,ts}": [
"eslint .",
Expand Down

0 comments on commit 5e581ef

Please sign in to comment.