feat: complete cancun hardhat compile setup for wtf-contract

This commit is contained in:
Bot
2026-08-31 00:12:55 +08:00
parent e1094b09d5
commit 92dc1b5e02
6 changed files with 83 additions and 14 deletions
+10 -4
View File
@@ -3,15 +3,21 @@
"version": "2.0.0",
"description": "WTFX Core Smart Contracts & Deployment Scripts",
"scripts": {
"compile": "hardhat compile",
"prepare": "python _prepare_compile.py",
"compile": "python _prepare_compile.py && hardhat compile",
"test": "hardhat test",
"deploy:robinhood-testnet": "hardhat run scripts/deploy.js --network robinhoodTestnet",
"deploy:robinhood-mainnet": "hardhat run scripts/deploy.js --network robinhoodMainnet",
"deploy:local": "hardhat run scripts/deploy.js --network localhost"
"deploy:robinhood-testnet": "python _prepare_compile.py && hardhat run scripts/deploy.js --network robinhoodTestnet",
"deploy:robinhood-mainnet": "python _prepare_compile.py && hardhat run scripts/deploy.js --network robinhoodMainnet",
"deploy:local": "python _prepare_compile.py && hardhat run scripts/deploy.js --network localhost"
},
"devDependencies": {
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"dotenv": "^16.4.5",
"hardhat": "^2.22.5"
},
"dependencies": {
"@openzeppelin/contracts": "5.0.2",
"@openzeppelin/contracts-upgradeable": "5.0.2",
"solady": "0.0.219"
}
}