Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dev tools used in hello-dapp #4

Open
alxiong opened this issue Aug 9, 2021 · 0 comments
Open

Update dev tools used in hello-dapp #4

alxiong opened this issue Aug 9, 2021 · 0 comments

Comments

@alxiong
Copy link
Collaborator

alxiong commented Aug 9, 2021

Last year, I used the "truffle-ganache-web3.js" stack due to personal familiarity. (last time I wrote Solidity was early 2019... 🙃, so quite outdated myself)

However, the current norm among most prominent projects are switching to "waffle-hardhat-ethers.js" stack.

Even though there's nothing wrong with the original stack and it's ultimately a developer preference, I do believe it's important that we use the most modern tools to prepare our students.

So my brief justifications here:
Why hardhat?: hardhat focus on debug experience with support like console logging within contract, stack tracing and a rich modular plugin for contract sizing, gas reporting etc.
Why waffle?: light weight, less dependency, TypeScript support, faster, good integration with ethers.js
Why ether.js: more modular than web3.js, better maintained

Read this doc for how to use these three in our stack

Links

(cc @sgsourav @GwynethAXY)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant