Timeline for Returning new {id}.json URI after setting a new URI in ERC1155
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 5, 2023 at 15:00 | comment | added | Zartaj Afser | Why are you hardcoding the value? This string should be stored in a state variable and will be only accessed when needed. Look at my code it is self-explanatory. | |
Jul 5, 2023 at 13:54 | comment | added | ratib90486 |
I'm actually using ERC1155URIStorage.sol extension. But how could I replace the hardcoded https://ipfs.io/ipfs/bafybeihjjkwdrxxjnuwevlqtqmh3iegcadc32sio4wmo7bv2gbf34qs34a/ in the abi.encodePacked?
|
|
Jul 5, 2023 at 13:51 | history | answered | Zartaj Afser | CC BY-SA 4.0 |