mirror of
https://github.com/averel10/crypto_clash.git
synced 2026-03-12 19:08:11 +01:00
feat: initialize crypto_clash_contract with TypeScript, Hardhat, and deployment script
- Added package.json with scripts for compiling, deploying, and testing the contract. - Created deploy.ts script for deploying the HelloWorld contract and saving the contract address to config.json. - Configured TypeScript with tsconfig.json for Node.js environment and ES module support.
This commit is contained in:
22
crypto_clash_contract/package.json
Normal file
22
crypto_clash_contract/package.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "crypto_clash_contract",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"compile": "hardhat compile",
|
||||
"deploy": "tsc && node dist/scripts/deploy.js",
|
||||
"test": "tsc && node dist/scripts/test.js"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"description": "",
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.19.0",
|
||||
"hardhat": "^3.0.13",
|
||||
"typescript": "~5.8.0"
|
||||
},
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"dotenv": "^17.2.3",
|
||||
"ethers": "^6.15.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user