Open zk1tty opened 9 months ago
"But as long as a user wallet need to trigger the tx, user have to send a gas amount to broadcast tx" can you explain this please @zk1tty Will minter role receive the gas amount then mint the nft for the user or the user will mint as it is, just no fee?
Yes, correct. Let's do this way.
freeMint(address recipient)
function with onlyRole(MINTER_ROLE) modifiler.
recipient
is the user's address.freeMint
contract API.@zk1tty please check commit 0d62f20
One new requirement is coming up. Payment on minting NFT will be zero, and make an empty wallet able to get minted NFT. consider if we can use mintNFTInCoin with mintFeeInCoin == 0 status. But as long as a user wallet need to trigger the tx, user have to send a gas amount to broadcast tx.