hands-on lab

Smart Contracts Lab: Create Your First ERC20 Smart Contract

Difficulty: Beginner
Duration: Up to 1 hour
Students: 6
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Smart contracts are self-executing agreements written in languages like Solidity and operate on blockchain networks, automating actions based on predefined rules. They eliminate intermediaries and enable transparent, tamper-proof, and peer-to-peer interactions. Decentralised finance (DeFi), non-fungible tokens (NFTs), decentralised exchanges (DEXs), and decentralised autonomous organisations (DAOs) are among the applications powered by smart contracts, reshaping industries and empowering individuals. Security is crucial, with developers focusing on audits and best practices to create robust and safe contracts. As smart contracts gain traction, they revolutionise systems, promote transparency, and herald a shift towards decentralised automation, transforming how we interact with technology and each other.

 

This lab will walk you through steps needed to create and customise your first ERC-20 Smart Contract.

 

Learning objectives

Upon completion of this beginner-level lab, you will be able to:

  • Import and inherit the ERC20 contract. 
  • Mint the initial number of tokens. 

Intended audience

  • Individuals studying software engineering.
  • Individuals who have an interest in crypto technologies.

Lab steps

Create Smart Contract Extending ERC20 Token