Idea is to mint 12 sets of 39 tokens at launch.. Nothing else needs doing
Is it feasible that deployment gets cancelled because of gas costs?
Are there any more efficient ways of doing this?
Thanks!
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts@4.5.0/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts@4.5.0/access/Ownable.sol";
contract TheContract is ERC1155, Ownable {
function contractURI() public pure returns (string memory) {
return "ipfs://................................................";
}
uint[] public tokens = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38];
uint[] public supplies = [12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12];
uint public minted = 0;
constructor() ERC1155("ipfs:/............................................................./{id}.json") {
_mintBatch(msg.sender, tokens, supplies, "");
minted = 12;
}
}