smartcontractkit / hardhat-starter-kit

A repo for boilerplate code for testing, deploying, and shipping chainlink solidity code.
MIT License
1.22k stars 492 forks source link

named accounts #4

Closed PatrickAlphaC closed 3 years ago

PatrickAlphaC commented 3 years ago

use named accounts instead of that garbaged "if network is kovan -> do this, if network is rinkeby -> do this"

PatrickAlphaC commented 3 years ago

addressed in https://github.com/smartcontractkit/chainlink-hardhat-box/pull/6.

Decided against named accounts, and used a similar concept to aave. They have a helper config with networking information.