adrianhajdin / project_crowdfunding

With a stunning design, connected to the blockchain, metamask pairing, interaction with smart contracts, sending Ethereum through the blockchain network, and writing solidity code.
https://jsmastery.pro
680 stars 372 forks source link

Update hardhat.config.js for Sepolia network & Solve undefined mutation Problem in index.jsx of context folder #67

Open iamashruu opened 1 year ago

iamashruu commented 1 year ago

/* @type import('hardhat/config').HardhatUserConfig / module.exports = { solidity: { version: "0.8.9", defaultNetwork: "sepolia", networks: { hardhat: {}, sepolia: { url: "https://sepolia.rpc.thirdweb.com", accounts: [0x${process.env.PRIVATE_KEY}], }, }, settings: { optimizer: { enabled: true, runs: 200, }, }, }, };

iamashruu commented 1 year ago

Update network from goerli to sepolia because georli testnet is not giving eth without ens domain where sepolia is free.