Hello, baseURI, from erc721 open zeppelin contract, how to config token I'd?

For example I have links:
website.com/api/1.json.
website.com/api/2.json
website.com/api/3.json
etc

What should I enter?

Oct 29, 2022, 1:41 PM
Looking for this?
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/ERC721URIStorage.sol
Inherit this, then you can do _setTokenURI(id,metadata)
Oct 29, 2022, 1:49 PM
So firstly I need to mint tokenid. Then call _setTokenURI and give them uri?
Oct 29, 2022, 6:14 PM
Check the _transfer
Oct 29, 2022, 6:33 PM

© 2024 Draquery.com All rights reserved.