erc721m icon indicating copy to clipboard operation
erc721m copied to clipboard

Question about converting minted nft into minted cryptotokens

Open ghost opened this issue 2 years ago • 3 comments

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.

ghost avatar Dec 15 '23 16:12 ghost

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

channing-magiceden avatar Dec 22 '23 04:12 channing-magiceden

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

Thank you for advice. Btw is there any chance to get UI for the webpage where could be this code implemented?

ghost avatar Dec 28 '23 12:12 ghost

Unfortunately we don't have UI code available.

channing-magiceden avatar Mar 02 '24 05:03 channing-magiceden