Creating an ERC20 Token on Ethereum
This project introduces the fundamentals of blockchain, what the Ethereum blockchain is, and how to write smart contracts for the Ethereum blockchain.
- 4.5 / 5 (2 ratings)
- Published
- Updated
Mehran Hydary
blockchain products @ unicef
01Remote
You can take the course from anywhere in the world, as long as you have a computer and an internet connection.
02Self-Paced
Learn at your own pace, whenever it's convenient for you. With no rigid schedule to worry about, you can take the course on your own terms.
03Community
Join a vibrant community of other students who are also learning with Creating an ERC20 Token on Ethereum. Ask questions, get feedback and collaborate with others to take your skills to the next level.
04Structured
Learn in a cohesive fashion that's easy to follow. With a clear progression from basic principles to advanced techniques, you'll grow stronger and more skilled with each module.
Fundamentals of blockchain
How to write your own blockchain in JavaScript
Learn about the Ethereum blockchain
How to write smart contracts for the Ethereum blockchain
How to use Remix to compile and deploy your Ethereum smart contracts
Introduction to tokens on the blockchain
How to use smart contracts to create tokens on the Ethereum blockchain
How to use Truffle to compile and deploy your token smart contracts
In this course, we'll create an ERC-20 standard compliant token and send it to an public Ethereum test network (which isn't very different from sending it to the main Ethereum network).
Before we jump into that, we will learn what blockchains are, how the Ethereum blockchain works, and the start diving into smart contract development with Solidity.
The examples we'll work with in the book with will start off simple and then we will progressively work our way up to writing all the smart contracts required to create an ERC-20 token on the Ethereum blockchain.
After we write the smart contracts, we'll also get familiar with tools like Remix and Truffle so that we can compile our code and deploy it to the blockchain together.
We will work with local, test, and public blockchains so that you understand the differences between each one.
This course is 9 chapters of detailed content which is designed to give you everything you need to kick off your journey as a smart contract developer.
Along the way, we'll learn the following:
- How blockchains worth through a practical implementation of one with JavaScript
- How the Ethereum blockchain works and what makes it popular (i.e. smart contracts)
- How to write simple Solidity smart contracts
- How to write complex Soldity smart contracts that handle cryptocurrencies
- How to compile and deploy Solidity smart contracts with Remix
- How to write advanced Solidity smart contracts that can be used to create tokens on the Ethereum blockchain
- How to compile and deploy the token smart contracts using popular blockchain development tools like Truffle and Infura
By the end of this course you will understand how blockchains work, what the Ethereum blockchain is and what are the major use cases that are being worked on in that ecosystem. Once you get familiar with that, you will also be equipped with tactical and tangile skills to start writing smart contracts for the Ethereum blockchain.
Our students work at
Course Syllabus and Content
Introduction
9 Lessons
The Ethereum blockchain has been described as the driving force behind the next generation of the internet. The blockchain has built-in smart contract capabilities, a large developer community, and its own native cryptocurrency. In this section we will learn about how the book is structured and get you equipped with the tools you'll need to start writing your own blockchain and smart contracts.
This section borrows code and code examples from throughout the internet to explain some of the key concepts of blockchain and Solidity development. The code has been commented on, explained, and updated as needed. Special thanks to these authors for helping the blockchain community more approachable through the code and blogs that they created - StephenGrider, Savjee, Xavier Decuyper, and Alibaba Cloud - thank you for the inspiration!
Getting Familiar with Blockchain
3 Lessons
Before we dive into the Ethereum blockchain and start writing smart contracts, let's explore what a blockchain actually is. This chapter will jump into some of the fundamentals and give you a practical understanding of what blockchains are. This section will walk you through a coding exercise that will enable you to write a blockchain from scratch.
Ethereum Blockchain
4 Lessons
Now that we understand how blockchains work, let's dive into the Ethereum blockchain. There are various concepts from the protocol itself, how accounts work and the blockchain's underlying cryptocurrency which can be tricky to understand. This chapter will explore the Ethereum blockchain in detail and help you get comfortable with some of the basics.
Proof of work (PoW) is a form of cryptographic zero-knowledge proof in which one party (the prover) proves to others (the verifiers) that a certain amount of computational effort has been expended for some purpose. Verifiers can subsequently confirm this expenditure with minimal effort on their part. Source
Cryptocurrencies on Ethereum
6 Lessons
DAI is a stable coin that is backed by the ether cryptocurrency. It also has a set of smart contracts that allow people to lock their ether and create stablecoins called Dai. The Dai token has a price target of $1 USD and allows people to trade between other cryptocurrencies without worrying about volatility.
Writing a Simple Smart Contract
3 Lessons
Smart contracts can be used to create anything on the Ethereum blockchain. Developers can write software, cryptocurrencies, or anything that their mind imagines. This section will introduce the Solidity programming language and enable the reader to start writing their first smart contract.
Diving Deeper Into Smart Contracts
8 Lessons
Smart contracts can be used to design any type of software, including games. In this chapter, we will continue building on our Solidity skills by writing a smart contract game. Some of the key concepts introduced in this chapter will include payable functions and function modifiers.
Thank you again to StephenGrider. Both the Inbox.sol and Lottery.sol contracts were excellent inspirations for the Money Game smart contract. They explain a lot of the key concepts in Solidity programming.
Creating a Token Smart Contracts for the Blockchain Part 1
8 Lessons
One of the most popular uses of smart contracts is to create ERC-20 tokens. In this chapter, we will learn about the ERC-20 token standard and start writing some of the smart contracts required to create the ERC-20 token for the Ethereum blockchain.
Creating a Token Smart Contracts for the Blockchain Part 2
3 Lessons
In this chapter, we will continue writing the ERC-20 token smart contracts. We will learn about how smart contracts follow object oriented programming by importing contracts we created in the previous chapter into the smart contracts we will be writing in this chapter. In this chapter, we will have the basic ERC-20 token implemented with Solidity.
Creating a Token Smart Contracts for the Blockchain Part 3
2 Lessons
Now that we have the basic implementation of the ERC-20 token created, let's create a few smart contracts that we can use to add more functionality to the token smart contract we will be creating. At the end of this chapter, we will be ready to compile and deploy our token smart contract.
Compiling and Deploying the ERC-20 Smart Contract
8 Lessons
Since our main token smart contract has several different smart contracts involved, in this chapter, we will use a tool called Truffle to simplify smart contract compilation and deployment. At the end of this chapter, we will use Truffle and another tool called Infura to send our token smart contract to a public Ethereum test network.
Conclusion
0 Lessons
Appendix
0 Lessons
Changelog
0 Lessons
Subscribe for a Free Lesson
By subscribing to the newline newsletter, you will also receive weekly, hands-on tutorials and updates on upcoming courses in your inbox.
What Students are Saying
Meet the Course Instructor
Purchase the course today
newline Pro Subscription
$18/MO
Get unlimited access to the course, plus 60+ newline books, guides and courses. Learn More
Billed annually or $40/mo billed monthly. Free to cancel anytime.
- Discord Community Access
- Full Transcripts
- Project Completion Guarantee
- Lifetime Access
Plus:
- Unlimited access to 60+ newline Books, Guides and Courses
- Interactive, Live Project Demos for Every newline Book, Guide and Course
- Complete Project Source Code for Every newline Book, Guide and Course
- Best Value 🏆
Frequently Asked Questions
Who is this course for?
This course is for software developers who want to learn how blockchains work and are interested in writing Soldity smart contracts for the Ethereum blockchain.
What if I need help?
You can ask us questions anytime through the community Discord channel, starting a discussion in the course, or by sending us a message.