LearnWeb3 Logo

14 min read

·

4 years ago

+10,000 XP
360
77
15
*You must be signed in to submit quiz
You must be signed in to post comments
User avatar

andidelouise

·

9 months ago

GREAT LESSON

1
User avatar

Babak Fa

·

2 years ago

educative

0
User avatar

arujjval

·

2 years ago

Error: Compiler run failed: Error (7576): Undeclared identifier. --> src/LW3Punks.sol:65:17: | 65 | require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); | ^^^^^^^ are you guys also getting this issue?

1
User avatar

DennysWambs

·

2 years ago

I encountered the same error. Modify the tokenURI function to use the isTokenMinted function instead of directly checking with _exists(tokenId). Replace the require statement with a call to isTokenMinted(tokenId).

0
User avatar

Bobi Dada

·

2 years ago

Loved this

0
User avatar

mohammadja72

·

2 years ago

very good

0