PinkyNFT / pinky-contracs

Smart contracts related to v1 Pinky release
0 stars 0 forks source link

Add airdrop NFT function for a empty wallet #10

Open zk1tty opened 9 months ago

zk1tty commented 9 months ago

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.

toufique-imam commented 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?

zk1tty commented 9 months ago

Yes, correct. Let's do this way.

toufique-imam commented 9 months ago

@zk1tty please check commit 0d62f20