mirror of
https://github.com/rjNemo/wave-portal
synced 2026-06-06 00:56:39 +00:00
27 lines
561 B
JavaScript
27 lines
561 B
JavaScript
require("@nomiclabs/hardhat-waffle");
|
|
require("dotenv").config();
|
|
|
|
task("accounts", "Prints the list of accounts", async (taskArgs, hre) => {
|
|
const accounts = await hre.ethers.getSigners();
|
|
|
|
for (const account of accounts) {
|
|
console.log(account.address);
|
|
}
|
|
});
|
|
|
|
/**
|
|
* @type import('hardhat/config').HardhatUserConfig
|
|
*/
|
|
module.exports = {
|
|
solidity: "0.8.4",
|
|
networks: {
|
|
rinkeby: {
|
|
url: STAGING_ALCHEMY_URL,
|
|
accounts: [PRIVATE_KEY],
|
|
},
|
|
mainnet: {
|
|
url: PROD_ALCHEMY_URL,
|
|
accounts: [PRIVATE_KEY],
|
|
},
|
|
},
|
|
};
|