What I prefer? Remix vs. Truffle vs. Hardhat vs. Foundry walk-through (For DEVS 2022)

Published: 23 June 2022
on channel: Ethereum-Blockchain-Developer | BlockOnAir
5,525
187

Ever wondered what Remix, Truffle, Hardhat or Foundry has in it for you - from a developer perspective?

🔗 https://ethereum-blockchain-developer...

In this video we're going through an ERC20 staking contract development:
1. We develop the smart contract in Remix
2. We bring it over to Truffle and test Truffle functions
3. We bring it then over to Hardhat
4. We bring it over to Foundry and test Forge

This is the ultimate Developer walkthrough of those 4 frameworks.

💡 Too slow/too fast? Change the playback speed in the video-player!
💡 Like the video? Like, comment and share with everyone you know!
💡 Want to know when I'm releasing another one? Subscribe and hit the bell icon.
💡 Want to get in touch? Add me on LinkedIn, comment here, become a subscriber of https://ethereum-blockchain-developer... or just come to Vienna and have a coffee with me.

Anything else? 👇🏻Leave a comment!


Content:

00:00:00 - Introduction
00:01:28 - Our Plan: A Staking Smart Contract
00:04:02 - ERC20 Token (TOK) in Remix
00:12:33 - ERC20 Staking (STA) in Remix
00:19:20 - Adding OpenZepplin AccessControl in Remix
00:27:48 - Debugging Smart Contracts in Remix
00:29:19 - Scriping Deployment with Remix
00:36:50 - Remix: Testing the final Stake/unstake flow
00:37:40 - Remix Summary
00:40:00 - 👉🏻 Truffle Start
00:42:10 - Difference between Install Truffle vs Install Hardhat
00:43:14 - Truffle VSCode Extension
00:45:00 - Add SampleToken to Truffle
00:45:46 - Adding OpenZeppelin Smart Contracts to Truffle
00:46:45 - Truffle Compile: Compiling Smart Contracts
00:47:20 - Truffle Migrations: Script Deployments with Truffle
00:48:28 - Truffle Develop: Using the Development Environment
00:50:50 - Adding StakingToken to Truffle
00:54:49 - Testing Staking using the Console
00:55:28 - Truffle Debugger: Debugging a Transaction Hash
00:56:42 - Testing the Fix in Console
00:57:30 - Writing a first Unit Test in Truffle
01:00:45 - Adding Ganache
01:02:43 - Improving the Unit Test
01:06:15 - Deploying the Tokens to Ganache
01:06:47 - Adding Ganache to MetaMask
01:09:06 - Truffle Summary
01:11:39 - 👉🏻 Hardhat Start
01:13:45 - Explaining Hardhat from Scratch
01:16:25 - Using Hardhat Node
01:17:06 - Console.log vs Truffle Debugger explained
01:19:00 - Truffle Migrations vs Hardhat Scripts
01:21:35 - Integrating Staking Contracts in Hardhat
01:22:07 - Changing the Test for SampleToken
01:24:45 - Adding the StakingToken to the Test
01:29:03 - Scripting the Deployment with Hardhat
01:30:26 - Adding Hardhat Node to MetaMask
01:33:34 - Final Hardhat Flow
01:36:01 - Hardhat Summary
01:39:45 - 👉🏻 Foundry Start
01:41:15 - Installing Foundry on Ubuntu
01:43:39 - Explaining the Foundry Directory Structure
01:46:24 - Adding our Tokens to Foundry
01:49:00 - Speed test: Forge Build vs Truffle Compile vs Hardhat compile
01:52:35 - Adding Tests to Foundry
01:57:15 - Running the Test
02:00:15 - Foundry Summary
02:00:50 - Summary Remix/Truffle/Hardhat/Foundry
02:11:50 - Final Words


Watch video What I prefer? Remix vs. Truffle vs. Hardhat vs. Foundry walk-through (For DEVS 2022) online without registration, duration hours minute second in high quality. This video was added by user Ethereum-Blockchain-Developer | BlockOnAir 23 June 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,525 once and liked it 187 people.