Question about converting minted nft into minted cryptotokens
Hello. I was wondering if there's any possibility to replace ERC721 with ERC20. I would like it to work on specific cryptocurrency. Thank you in advance.
Hi @EnRiKeBaMbO ! Do you mean to host a minting event but instead of 721 tokens, minter got ERC20 tokens?
If so, I think you can extend ERC20 then customize _mint function. https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.7/contracts/token/ERC20/ERC20.sol
Hi @EnRiKeBaMbO ! Do you mean to host a minting event but instead of 721 tokens, minter got ERC20 tokens?
If so, I think you can extend ERC20 then customize
_mintfunction. https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.7/contracts/token/ERC20/ERC20.sol
Thank you for advice. Btw is there any chance to get UI for the webpage where could be this code implemented?
Unfortunately we don't have UI code available.