Skip to Content
Mastering Blockchain Programming with Solidity
book

Mastering Blockchain Programming with Solidity

by Jitendra Chittoda
August 2019
Intermediate to advanced
486 pages
13h 52m
English
Packt Publishing
Content preview from Mastering Blockchain Programming with Solidity

Overview of the ERC721 NFT standard

In Chapter 7ERC20 Token Standard, we looked into the ERC20 token standard, which is the standard that's mostly used for minting and transferring the tokens. However, the ERC20 token standard has a state variable, decimals, and by using that variable, each token of the token contract can be fungible to the defined number of decimal places. For example, an ERC20 token with 18 decimal places would enable each of its minted tokens to be fungible up to 18 decimal places. The Solidity language does not support decimal or floating data types; hence, one full unit of a token will have 18 zeros followed by 1, which we can also refer to as 118 or 10 * 18.  These tokens are also identical to each other, which means ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Ethereum

Mastering Ethereum

Andreas M. Antonopoulos, Gavin Wood
Complete Cryptocurrency and Blockchain Course | Learn Solidity

Complete Cryptocurrency and Blockchain Course | Learn Solidity

Ravinder Deol, Codestars By Rob Percival, Thomas Wiesner

Publisher Resources

ISBN: 9781839218262Supplemental Content