Difference between revisions of "ERC20"

Jump to navigation Jump to search
764 bytes added ,  16:16, 25 April 2022
no edit summary
m (added examples for some erc20 tokens)
Line 2: Line 2:


For example, an ERC-20 Token acts just like the ETH, meaning that 1 Token is and will always be equal to all the other Tokens.<ref>https://ethereum.org/en/developers/docs/standards/tokens/erc-20/</ref>
For example, an ERC-20 Token acts just like the ETH, meaning that 1 Token is and will always be equal to all the other Tokens.<ref>https://ethereum.org/en/developers/docs/standards/tokens/erc-20/</ref>
== Technical Details ==
The most used implementation of the ERC20 standard is the [https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol one from OpenZeppelin].
Most ERC20 tokens have 18 decimals, just as ether, that means each token can be divided up to 10<sup>-18</sup>.
== Use cases ==
ERC20 tokens are used, on EVM-compatible blockchains, to represent property of some asset (which can come from the real world or from the blockchian). They're used for example to port other cryptocurrencies on external blockchains (ex WBTC). They're used for governance on many protocols or even for liquidity mining. They're also used to represent other assets (see [[Stablecoins]]) like currencies, stocks, commodities etc...


== Functionalities ==
== Functionalities ==
66

edits

Navigation menu