which language to write the deployment code(Javascript or Solidity) #1922
Replies: 3 comments
-
Foundry is a Solidity based framework so it uses Solidity for deployment scripts. At the moment, Foundry is the most popular framework. Hardhat is a JavaScript based framework and it uses JS for deployment. I guess learning both ways is the best for you as a smart contract developer because different teams use different frameworks. |
Beta Was this translation helpful? Give feedback.
-
It is always great if you are good all around, So I will say Learn as much as you can, manage your time and resources efficiently |
Beta Was this translation helpful? Give feedback.
-
It depends on your framework! As of recent, I do everything in foundry. |
Beta Was this translation helpful? Give feedback.
-
Is it okay to write the deployment code in Solidity, rather than writing it in JavaScript? I want to know what is best nowadays because, in one of patrick's FreeCodeCamp video, he has used JavaScript to write the deployment code.
Beta Was this translation helpful? Give feedback.
All reactions