debugging deployment of contract to geth node

This commit is contained in:
benbierens 2023-04-17 15:00:48 +02:00 committed by Ben Bierens
parent a9a1882ed3
commit f69f9cf7fe
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,4 @@
FROM node:18.16.0-alpine3.17
COPY . .
RUN ["npm", "install"]
CMD ["sh", "docker/deploy.sh"]

View File

@ -24,5 +24,8 @@ module.exports = {
hardhat: {
tags: ["local"],
},
codexdisttestnetwork: {
url: process.env.DISTTEST_NETWORK_URL
}
},
}

View File

@ -6,7 +6,8 @@
"start": "hardhat node --export deployment-localhost.json",
"compile": "hardhat compile",
"format": "prettier --write contracts/**/*.sol test/**/*.js",
"lint": "solhint contracts/**.sol"
"lint": "solhint contracts/**.sol",
"deploy": "hardhat deploy"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.2.1",