Timeline for How to write a purchase function for an ERC721 using an ERC20?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 24, 2022 at 22:18 | comment | added | DabblinDantheDino | Sure thing, have you tried making an erc20 interface? If the token follows the standard, you should be able to use this eips.ethereum.org/EIPS/eip-20 docs.openzeppelin.com/contracts/2.x/api/token/erc20 | |
Jan 21, 2022 at 11:18 | comment | added | Syed Ali Taqi | @DabblinDantheDino I'm stuck at exactly the same problem. I want to deploy my contract on Polygon but require users to pay in WETH not MATIC. can you please guide on how did you manage to get this done? I'd appreciate any help!!! thanks | |
Nov 13, 2021 at 23:09 | vote | accept | DabblinDantheDino | ||
Nov 12, 2021 at 18:28 | comment | added | DabblinDantheDino | Thank you I appreciate this answer! The front-end calling Approve was the missing piece of the puzzle. | |
Nov 11, 2021 at 21:17 | history | answered | DrGorilla.eth | CC BY-SA 4.0 |