opensea-creatures
opensea-creatures copied to clipboard
Minting token by other addresses than contract owner
Can NFT be minted by other adress than owner of contract?
I see in CreatureFactory.sol:
function mint(uint256 _optionId, address _toAddress) public {
// Must be sent from the owner proxy or owner.
ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
assert(
address(proxyRegistry.proxies(owner())) == msg.sender ||
owner() == msg.sender ||
msg.sender == lootBoxNftAddress
);
...
Of course, I can simply remove the assert, however, could someone give me potential issues related to that?
Thanks!
Yes, I am interested in this one too!
+1 on this. TBH, i dont see any problems from the solidity side of code, but there is very little visibility into opensea code which makes me hesitant to attempt this.
Any experts on this can give us advice? I want to create an app where users can convert their own art into nft, so remove onlyOwner constraint is needed