Quellcode durchsuchen

docs: fix deploy script in README

Paul Razvan Berg vor 4 Jahren
Ursprung
Commit
4deeffcbdc
2 geänderte Dateien mit 2 neuen und 8 gelöschten Zeilen
  1. 1 7
      README.md
  2. 1 1
      package.json

+ 1 - 7
README.md

@@ -95,13 +95,7 @@ $ yarn clean
 Deploy the contracts to Hardhat Network:
 
 ```sh
-$ yarn deploy
-```
-
-Deploy the contracts to a specific network, such as the Ropsten testnet:
-
-```sh
-$ yarn deploy:network ropsten
+$ yarn deploy --greeting "Bonjour, le monde!"
 ```
 
 ## Syntax Highlighting

+ 1 - 1
package.json

@@ -70,7 +70,7 @@
     "commit": "git-cz",
     "compile": "hardhat compile",
     "coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/**/*.ts\"",
-    "deploy": "hardhat deploy:Greeter --greeting",
+    "deploy": "hardhat deploy:Greeter",
     "lint": "yarn run lint:sol && yarn run lint:ts && yarn run prettier:check",
     "lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
     "lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",