Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about converting minted nft into minted cryptotokens #99

Open
ghost opened this issue Dec 15, 2023 · 3 comments
Open

Question about converting minted nft into minted cryptotokens #99

ghost opened this issue Dec 15, 2023 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 15, 2023

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.

@channing-magiceden
Copy link
Contributor

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

@ghost
Copy link
Author

ghost commented Dec 28, 2023

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?

@channing-magiceden
Copy link
Contributor

Unfortunately we don't have UI code available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant