In this article I will teach you how to deploy your contract to the Rinkeby Testnet.
To be faster we will use our project from another article: Ho...
For further actions, you may consider blocking this person and/or reporting abuse
Hi, When I try run the compile I'm receiver a error:
"Error HH8: There's one or more errors in your config file:
Hey, are you using the correct private key of your wallet? it's not your address, but your private key
I had the error like this:
Error HH8: There's one or more errors in your config file:
//Turns out I put a space after the comma when I was listing the accounts. I took the space out and the error resolved.
NGL, I ran into this issue and it took me a few minutes to realize that I was calling the run scripts from the wrong directory...
Save the private key in full with 0x prefix as an environment variable and then pass it in with the method .toString().
process.env.PRIVATE_KEY.toString()
Hi !
I got `The Solidity version pragma statement in these files doesn't match any of the configured compilers in your config. Change the pragma or configure additional compiler versions in your hardhat config.
Any suggestion ?
Hey @emanuelferreira , great article.
I am getting an error while deploying to the ropsten network
I have used private key exported from metamask as you asked. I could use some help.
Thanks. What is rinkeby.accouts? "in accounts we add the private address of our wallet." I don't know it is an address or a key? If is private key, how does it transfer to rinkeby? Is there a leak risk?
The private key, to deploy the contract using your address/wallet
Hi,
I got the error "Error HH100: Network rinkeby doesn't exist" when running the command to deploy the contract.
What can I do to fix this error?
I got the same error. Somebody please reply?
what is yarn compile
Yarn compile is a script of hardhat to compile the smart contract.
in the package.json file you can add a script called compile with this command:
yarn hardhat compile