Source link
Scaffold-eth: https://docs.scaffoldeth.io/
Repo: https://github.com/AzimovS/clicker
Timestamps:
0:00 Demo
0:23 Installation
2:12 Smart Contract
02:33 Frontend
05:48 Results
date : 2025-03-29 21:51:36
views : 28
likes : 1
rating :
Summary:
In this 6-minute tutorial, the speaker demonstrates how to build a simple decentralized application (dApp) using Scaffold E, a blockchain-based development framework. The dApp is a "clicker" app that allows users to increase a number by one, interacting with the blockchain and updating the state variable.
The speaker walks us through the following steps:
- Installing Scaffold E and choosing the Hardhat framework.
- Creating a new project and opening a code editor.
- Writing the smart contract in Solidity, defining a state variable and a function to increase it.
- Deploying the contract using Yarn deploy.
- Creating a Next.js app and interacting with the deployed contract using the
useScaffold
hook. - Adding a button to increment the counter and handling the transaction asynchronously.
Interesting Web3 Facts:
- Web3 is the next generation of the World Wide Web, focusing on decentralized and blockchain-based technologies.
- Blockchain allows for secure, transparent, and censorship-resistant data storage and processing.
- Solidity is the programming language used for writing smart contracts on the Ethereum blockchain.
Full Transcript:
If you’re interested in exploring the world of blockchain and Web3, this tutorial is a great starting point. The speaker provides a clear and concise guide to building a decentralized application, making it accessible to developers of all levels.