Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

iamashruu
Copy link

/** @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,
},
},
},
};

/** @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
Copy link
Author

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

Solved this: "contract call failed TypeError: Cannot read properties of undefined (reading 'call') at Object.mutationFn"
@iamashruu iamashruu changed the title Update hardhat.config.js for Sepolia network Update hardhat.config.js for Sepolia network & Solve undefined mutation Problem in index.jsx of context folder Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant