What are the different development environments in which we can write, test and deploy our solidity smart contracts? Keep reading this thread🧵 to find out!
1) Remix IDE: Open-source online Development Environment maintained by the Ethereum foundation. It's the fastest way to run and deploy smart contracts. However, it can only run .js (not seamlessly) and .sol files. It is also very buggy. Devs prefer offline IDEs for seamlessness
2) Brownie: Fast, reliable, Python based framework for smart contracts. It does not have a local network of its own and so it uses Ganache for fulfilling that aspect
3)Truffle Suite: The OG. It consists of three tools:
Truffle: writing contract
Ganache: making local blockchain network for testing
Drizzle: making frontends which can get data from blockchain. Test, deploy file lang: JS
However, Truffle is now widely considered outdated, slow
4) Hardhat: Currently, it is believed to be the best environment. It is very fast and has great features for easily testing and deploying our smart contracts. Test, deploy files are written in JS. Online support is also widely available and the docs are extensively written.
5) Foundry: Newest kid on the block! Development is in full swing. Their github repo changes everyday! It is faster than HardHat. All tests are written in Solidity itself. Since it's very new, online support is less.
(Thanos meme approved by @PatrickAlphaC)
To sum it up:
in general,
Foundry >>>>>>> everything
Remix IDE<<<<< everything (except for quickly seeing what a piece of code does)
for JavaScript devs: Hardhat>Truffle
for Python devs: Brownie is the only popular choice lol
That's a wrap! Hope you enjoyed reading this thread and/or learnt something new. If you did, please like and RT the first tweet in this thread.
Did I miss any environments? Did I make a mistake? Comment down below!
Thank you so much for your time!