Find all the source code for this project here Link
Ethereum smart contract development has been possible to learn since 2016 or so. But how to ...
For further actions, you may consider blocking this person and/or reporting abuse
Great stuff!
There is one important step missing before deploying the contract to the local blockchain: compiling it! You need an npx hardhat compile. It took me AGES to figure out why it refused to compile the file. Turned out that it couldn't recognize .Sol, only .sol - maybe useful for someone struggling with the same :)
Thank you so much for this, I must have missed this command, I'm going to edit the post now. Well done for figuring it out. And glad you got something from this.
Thanks for this!
You might want to also change the name here too
'.Sol' - "In your project in the /contracts folder delete any contracts there and create a new contract called FCTToken.Sol with the following code, the code we just tested."
will update, thanks
Need help troubleshooting right after running local blockchain. Here is what i did
Error HH12: Trying to use a non-local installation of Hardhat, which is not supported. Please install Hardhat locally using npm or Yarn, and try again.
Hi Richard,
First of all thank you for this crash course.
I followed your code and when I click on “check my balance” button I got this error
Unhandled Rejection (Error): network does not support ENS (operation="ENS", network="unknown", code=UNSUPPORTED_OPERATION, version=providers/5.3.0)
I had the same issue. I fixed it by changing the 'tokenAddress' variable in Faucet.js.
I had originally put in the address for my Metamask wallet which caused the error. You should use the contract address given to you by your Hardhat terminal which you should receive after you call 'npx hardhat node'. It will be located after your hardhat_addCompilationResult
Me too I have the same problem
Hey, I am getting "Error: Expected private key to be an Uint8Array with length 32" when trying to deploy to Goreli. Any ideas?
You're using
Account #0
address instead thePrivate Key
address.not sure.. make sure your storing your private key as the correct variable type in your .env file
Hi
I am getting the error "Failed to load config prettier to extend from. Installed all dependencies using yarn install. Please suggest solution
Thanks a lot. I am a newbie and it helps.
when the faucet button claims, the total max supply keeps increasing, why is that?