Hi,
So I have three ERC1155 contracts, one for NFTs, one for NFT accessories one for "decorated" NFTs. I want to provide the option to burn one NFT and one accessory for a decorated NFT, what is the best way to go about this?
I thought about just white listing the contract and checking msg.sender and then just perform the burn and mint in the same contract but I'm looking for the community's opinion. Are cases like this solved via existing code or does anyone have some examples?
[link] [comments]
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments