I'm new in blockchain I want to know is there any way to mint nft in batch and set their URI in batch via smart contract kindly help
Hi, welcome to the community! ![]()
Seems like you can use ERC1155 or ERC721A contract.
I'm usingERC1155 to mintBatch but issue is that I'm unable to set their URI
I think you only need to set a basic URI in your contract, such as https://YOUR_API/token/{id}.json, so for id 1, its URI is https://YOUR_API/token/1.json, for id 2, its URI is https://YOUR_API/token/2.json