Hi,
I want to mint NFTs using ERC721 token standard. But point is I wish TokenID to be alphanumeric instead of integer.
Can anyone guide how can it be achieved.
Thanks & Regards,
Ishan Agrawal
Hi,
I want to mint NFTs using ERC721 token standard. But point is I wish TokenID to be alphanumeric instead of integer.
Can anyone guide how can it be achieved.
Thanks & Regards,
Ishan Agrawal
The standard library expects tokenID to be uint256. You can encode alphanumeric to uint256 and then pass into the _mint()
Applications like OpenSea will show it as a number though. There is no way around this. The id is defined as a number in EIP-721.