Chapter 14: Writing Token Contracts

Ethereum is one of the most important blockchain platforms around. One of the major reasons for its popularity is that Ethereum natively supports a token – Ether. It's well known that Ether is the native currency of Ethereum. Ethereum involves Ether in various denominations for every operation that changes its state, even when invoking simple contract operations such as raising an event or storing some value within a ledger. In short, cryptocurrency is built into Ethereum.

Despite the fact that Ethereum has its own currency, it allows developers to create a new currency in the form of tokens. This chapter is all about tokens, creating new tokens, and especially tokens based on ERC20 and ERC721 standards. ...

Get Solidity Programming Essentials - 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.