Deploy we are using truffle

truffle migrate --reset --compile-all --network rinkeby

when i am deploying i will be getting build folder in my project directory while deploying through the rinkeby will it take the build folder and deploy. or what file we are deploying in the solidity using these command


The migrate command of truffle will run the scripts in your migrations directory. See the documentation https://truffleframework.com/docs/truffle/getting-started/running-migrations in truffle site.

The --reset option will force to redeploy all your contracts.

The --compile-all will force recompilation of all your contracts.

  • what is the use of build directory in your project – md venkatesh Oct 19 '18 at 4:58
  • Truffle uses the build directory to store compilation artifacts, bytecode, abi, deployment address, etc. – Ismael Oct 19 '18 at 16:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.