I am stuck In a error. Please help.
Run truffle init command. Wrote a smart contract, and did truffle migrate - - reset. No contract is deployed in ganache, even though edited the truffle.config.js file, it just says successfully compiled and that's it. What is the issue? Tried restarting truffle n even the pc, node version being used is 16.20.x something

Please help

Oct 5, 2023, 1:47 PM
why are u using truffle?
Oct 5, 2023, 3:05 PM
Check your migration file. If you don't have deployments in it, it won't migrate anything
Bonus tip : Uninstall truffle and switch to hardhat/foundry. Truffle is discontinued already
Oct 5, 2023, 3:22 PM

© 2024 Draquery.com All rights reserved.