I'm a beginner here.
I'm using below code to bulk mint NFTs and upload the collection in Opensea.
How do I bulk list the price and royalty % for these NFTs?
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract NFTContract is ERC1155, Ownable {
using SafeMath for uint256;
constructor() ERC1155("ipfs://myidgoeshere/{id}.json"){
for(uint i= 1; i<10000; i++){
_mint(msg.sender, i, 1, "");
}
}
}