Skip to content

Commit d53abda

Browse files
committed
Added new command
1 parent b9e8819 commit d53abda

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,5 @@ templates/evm/core/pages/api
7474

7575
#Hardhat files
7676
cache
77-
artifacts
77+
artifacts
78+
Flattened.sol

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
"deploy": "npx hardhat run ./scripts/SuperconductorX_deploy.js --network ETH_MAINNET",
99
"node": "npx hardhat node",
1010
"test": "npx hardhat test",
11-
"deploy-local": "npx hardhat run ./scripts/SuperconductorX_deploy.js --network localhost"
11+
"deploy-local": "npx hardhat run ./scripts/SuperconductorX_deploy.js --network localhost",
12+
"flatten": "rm -f Flattened.sol && npx hardhat flatten > Flattened.sol"
1213
},
1314
"dependencies": {
14-
"dotenv": "^16.0.2",
15-
"@openzeppelin/contracts": "^4.7.3"
15+
"@openzeppelin/contracts": "^4.7.3",
16+
"dotenv": "^16.0.2"
1617
},
1718
"devDependencies": {
1819
"@nomicfoundation/hardhat-toolbox": "^1.0.2",

0 commit comments

Comments
 (0)