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.
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."
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