I am new to the whole smart contract and blockchain space, but I am developing a pet project on my free time, which is more like an NFT marketplace.
I would like the seller of an NFT to not pay for any fees when they post their arts (just like Mintable). I just would like the buyer to pay for the price of the art + price of gas.
The first way I thought about implementing this is basically to only mint an NFT when a buyer wants to buy it (before that the NFT would just be sitting on a database and not on Ethereum’s blockchain). However, when the buyer buys this piece of art, I am being charged four gas fees:
- For the minting of the item
- To ensure the marketplace is approved
- Add item to the marketplace
- Buy item from the marketplace.
I currently have two contracts: one for the token and one for the marketplace.
Can anyone help me out with this? Or have any pointers and tips for how I can implement it?
Thank you very much in advance