Issuing a token#
🔗 From EIP-0004
Ergo supports custom tokens as first-class citizens.
- A special register
R2
of a box contains (tokenId -> amount) pairs. - A box can contain at most 255 secondary tokens.
-
However, there are also some indirect limits:
- A box can be no more than 4 kilobytes
- Tokens add to the computational cost of the transaction.
Resources#
- Token category on sigmaverse.io
- Ergo Token Minter or CYTI which uses a Use CYTI minable smart contract to choose your token ID.
- ergoutils.org
- Video Tutorial