How do is CD into that?Sorry new to this
How do I *ā¦
In this case, now your current working directory needs to be at DAO2
. You were already there, you can use cd DAO2
.
You can follow a general guide on how to use common commands.
I do that and it says no such file or dierctory
If I go cd DAO which is the previous folder it works but when i say npx hardhat clean or npx hardhat compile it brings up that same pageā¦
Are you creating a new project or just copying it over? Forget about compiling any contracts for now, try creating a new hardhat project and then run npx hardhat
again after itās created to make sure it no longer tries to create a new hardhat project in the same directory.
Okay will do thatā¦Will check back later if i still have issuesā¦thanks alot for your helpā¦appreciate it manā¦
Have you installed that package?
npm install -D @nomiclabs/hardhat-waffle
There should have been instructions when you set up the hardhat project for which additional packages you needed to install if you donāt have it.
Did that just as you posted thanks manā¦Really appreciate it
And onto the next errorš
Error HH100: Network mumbai doesnāt exist
Check your hardhat.config.js if youāre trying to deploy a network named mumbai
; does this network exist?
It should look something like:
module.exports = {
networks: {
mumbai: {
url: urlhere,
accounts: privatekeyhere,
},
},
solidity: '0.8.4',
};
I installed the solidity extension but had to downgrade the version becuase of problems it was casuingā¦now its at v0.0.135ā¦harhat only supports 0.4.11 and above but now it gives me these errorsā¦
Hello?..Sorry Under pressure here
It says it compiles succesfully
Gald mateā¦I really need your help here ASAP
Glad*Sorry typoā¦
Make sure that you have that āLockā contract (same name) that youāre using in your deployDAO script. If you do, try recompiling your contract, it says it canāt find the artifact files for it.