I am developing an NFT collection with royalties. For the moment, the royalties go to my wallet, but I want them to be sent to a smart contract.
As Elrond developed NFTs, the royalties go to the creator. I didn't find a way to change the creator of an NFT for now.
Do you have any ideas?
Should I mint the NFT a the receiving smart contract?
Can I change the creator of an NFT?
Royalties are always sent to the creator of the nft and there is no way to change the creator of the nft later.
So it's always the wallet/smart contract that created the nft originally.
There is ongoing development for an esdt_nft_create_as_caller
function that will create the nft as the one who was calling the smart contract, but it isn't implemented yet.