Lazy Mint Controller - mintNftAsset: support for explicitly setting transfer 'to' address #243
Replies: 5 comments 17 replies
-
Hi @bobwith2bees I haven't personally tried this specific iteration yet, either. But logically, this looks to be correct. @evgenynacu can we get confirmation on this implementation? |
Beta Was this translation helpful? Give feedback.
-
Any update on this? This is a clarification / documentation request for this work. rarible/protocol-contracts#105 |
Beta Was this translation helpful? Give feedback.
-
Hello! and tx should be signed by contractOwnerAddr. |
Beta Was this translation helpful? Give feedback.
-
@disenotov Yes your summary is correct. Even just checking creator[0] and creator[1] for approved minters would solve my problem. The issue is you have used creator[0] as an indicator for two different roles (minter and recipient of lazy minted NFT.) Please let me know how I can get this enhancement on the list. I have been asking this question on the Protocol calls with @evgenynacu and @eduardstal for some time (months) and I thought I was going to be ok. In the meantime, I assume as the owner of the contract I can remove NFTs that are not minted through my app. I would need to poll (or is there a feed?) every NFT minted, check to see if my account signed it (as a validity check,) and remove it before someone tries to buy it. I am just trying to figure out how to get into production with my app... help appreciated. -Bob |
Beta Was this translation helpful? Give feedback.
-
Hey there, as we discussed already, we will include this feature request into our backlock in less than two weeks from now. I will assign the "closed" tag for now. |
Beta Was this translation helpful? Give feedback.
-
Updated 2022 02 23:
See well down the thread, but in short (I think)
Background:
The existing NFT smart contracts supports explicitly setting the address who will receive a minted NFT:
function mintAndTransfer(LibERC721LazyMint.Mint721Data memory data, address to)
Problem:
The SDK API does not allow setting this parameter directly for the nft-lazy-mint-controller. https://ethereum-api.rarible.org/v0.1/doc#tag/nft-lazy-mint-controller
Ask:
Provide an query parameter to the API call where I can lazy mint and explicitly provide the address for the Lazy Minted NFT to be delivered.
Why
Well then you can read the entire thread. ;-). In summary - my app does the minting heavy lifting for my customer who will receive the lazyMinted NFT. If I want to lock down my minting contract so no one else can use it - I have to perform the mint.
Today - If I mint, I have to receive the Lazy minted NFT to my creator account. There is no way to transfer to my customer without forcing a sell. I want the ability to lazy mint and deliver to my customers account directly. My customer should be the first person to list an NFT for sale.
---- Original question below ----
Could I get a clarification how the owner check works when I have specified my ERC-721 should only allow minting from the owner?
In my use case I want to Lazy-mint and NFT on behalf of my customer, using my lazy-mint contract that has been restricted to myself as the owner.
Is my understanding correct? (I haven't tried it yet, but it's a pretty big deal and I need to know.)
Beta Was this translation helpful? Give feedback.
All reactions