New hardhat project

This commit is contained in:
Ruslan Gladov 2024-06-14 13:42:58 +03:00
parent 7eb61696eb
commit 23a2617c64
3 changed files with 917 additions and 975 deletions

View file

@ -39,9 +39,7 @@ jobs:
docker-compose up -d docker-compose up -d
- name: Deploy contracts - name: Deploy contracts
run: | run: npx hardhat ignition deploy ./ignition/modules/Lock.js
cd /Users/ruslangladov/PycharmProjects/DevOps_LC/go-ethereum/hardhat/
npx hardhat run scripts/deploy.js --network localhost
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5

1878
hardhat/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,13 @@
{ {
"name": "hardhat-project", "name": "hardhat",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"description": "",
"devDependencies": { "devDependencies": {
"@nomicfoundation/hardhat-toolbox": "^5.0.0", "@nomicfoundation/hardhat-toolbox": "^5.0.0",
"hardhat": "^2.22.5" "hardhat": "^2.22.5"