12

Creating Tokens on Ethereum

In this chapter, you are going to learn how to create tokens on top of Ethereum. Tokens have a variety of uses; they may represent a local currency in a local community, a physical good, virtual money in a game, or loyalty points. You can build new cryptocurrencies with this token; Ethereum is a cryptocurrency itself, but you can build new cryptocurrencies on top of it, making it far easier to create a new token.

This chapter will cover the following topics:

  • How to create a simple token smart contract
  • The ERC-20 token standard
  • Selling tokens
  • Security aspects

Technical requirements

The code for this chapter can be found at https://github.com/PacktPublishing/Hands-On-Blockchain-for-Python-Developers--2nd-Edition/tree/main/chapter_12 ...

Get Hands-On Blockchain for Python Developers - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.