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

installation Issue #1

Open
QadriTalib opened this issue Aug 3, 2023 · 1 comment
Open

installation Issue #1

QadriTalib opened this issue Aug 3, 2023 · 1 comment

Comments

@QadriTalib
Copy link

how to install nxp hardhat in vs code

following error is occure in vs code
Error HH8: There's one or more errors in your config file:

  • Invalid value undefined for HardhatConfig.networks.volta.url - Expected a value of type string.
  • Invalid account: #0 for network: volta - private key too short, expected 32 bytes

To learn more about Hardhat's configuration, please go to https://hardhat.org/config/

For more info go to https://hardhat.org/HH8 or run Hardhat with --show-stack-traces

@ayushsingh82
Copy link

Instead of volta use goerli

module.exports = {
solidity: "0.8.19",
defaultNetwork: "goerli",
networks: {
hardhat: {},
goerli: {
url: API_URL,
accounts: [PRIVATE_KEY],

  }

},
};

above is hardhat.config file

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

No branches or pull requests

2 participants