I am planning to write a smart contract on top of ERC1155 standard where 100 NFTs of each song are minted and published for sale and whenever transaction happens, a certain percentage of transaction fee (or value of NFT) is also transferred to artists as royalty revenue.
in this case, who should mint 100 NFTs for primary sales? owner of contract (me) and later transfer ownership to artist? or artist by themselves? or lazy mint when user buy them, minting and transferring of ownership take place? what is the best practice here.
is there a sample contract that I can refer to that contains the logic of recurring revenue