1.0.2 • Published 3 years ago
@aragon/hardhat-config v1.0.2
Aragon Hardhat Configuration file
Install
$ npm install --save-dev @aragon/hardhat-configAnd 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.