Formatting

This commit is contained in:
Basti 2022-07-15 13:34:17 +02:00
parent 534f68c5a9
commit e3a0f0e8d3
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72

View File

@ -123,11 +123,15 @@ For an upgrade example checkout `scripts/upgrade-example.js`
Deployable networks are configured in the `hardhat.config.js`. Deployable networks are configured in the `hardhat.config.js`.
To deploy to those networks provide the `--network` argument to the hardhat commands, e.g. `--network rsk`. To deploy to those networks provide the `--network` argument to the hardhat
commands, e.g. `--network rsk`.
Please note that some npm scripts combine multiple hardhat commands. In those cases the hardhat commands needs to be run manually with the `--network` argument. (=> don't use `npm run bootstrap`) Please note that some npm scripts combine multiple hardhat commands. In those
cases the hardhat commands needs to be run manually with the `--network`
argument. (=> don't use `npm run bootstrap`)
Set a `DEPLOY_KEY` environment variable with the private key (HEX) which will be used as a root/deploy account Set a `DEPLOY_KEY` environment variable with the private key (HEX) which will
be used as a root/deploy account
Typical deployment flow: Typical deployment flow:
@ -137,7 +141,8 @@ Typical deployment flow:
$ DEPLOY_KEY=0xsomething hardhat run scripts/create-proxy.js --network rsk $ DEPLOY_KEY=0xsomething hardhat run scripts/create-proxy.js --network rsk
$ # commit the new addresses in the addresses.json file if needed $ # commit the new addresses in the addresses.json file if needed
To run the console on one of the non localhost networks you can also just pass on the --network argument. To run the console on one of the non localhost networks you can also just pass
on the --network argument.
$ hardhat console --network rsk $ hardhat console --network rsk