UNPKG

raiserocket

Version:

https://docs.google.com/presentation/d/10rEHd1qQlRZSKmFSHUxEtLvOyvmJMwxf/edit?usp=share_link&ouid=106253845854070702655&rtpof=true&sd=truehttps://docs.google.com/presentation/d/10rEHd1qQlRZSKmFSHUxEtLvOyvmJMwxf/edit?usp=share_link&ouid=1062538458540707026

24 lines (20 loc) 575 B
require("@nomiclabs/hardhat-waffle"); require('dotenv').config({ path: './.env.local' }); 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); } }) const privateKey = process.env.NEXT_PUBLIC_PRIVATE_KEY module.exports = { solidity: "0.8.10", defaultNetwork: "polygon", networks: { hardhat: {}, polygon: { url: process.env.NEXT_PUBLIC_RPC_URL, accounts: [privateKey] } } };