@yuetlooo/hardhat-config
v1.2.0
Published
Aragon hardhat configuration file
Downloads
8
Readme
Aragon Hardhat Configuration file
Install
$ npm install --save-dev @aragon/hardhat-config
And add the following statement to your hardhat.config.js:
module.exports = require('@aragon/hardhat-config')
Set a private key
You can configure a private key in ~/.aragon
. Create a file<network>_key.json
(eg. rinkeby_key.json
) with this structure:
{
"rpc": "https://<network>.infura.io",
"keys": ["put-your-priv-key-here"]
}
See set-a-private-key for more information on how to set a private key.
By supplying --network <network>
to a hardhat command, it will use the private key and url setup for that network in the <network>_key.json
file.