I’m very new to the forum, so, this might be wrong place to ask. If so, please move to the correct folder.
We are developing a game in which we have resources that the players collect by using certain NFT tools. These resources (say, Wood and Gold) are collected in the backend. The player can craft new items using these resources. But we are facing two problems:
- If the user crafts new item in the game, we have to pay the transaction fee.
- If the players converts the resources to tokenized versions (these tokens will be in his wallet), he will call the contract, but this time, the contract won’t know the required amounts of the resources.
So, my questions are:
- Is there way to make the user pay the fees without converting in-game assets to tokenized versions?
- Is there a way for the smart contract to interact with backend?
Thanks in advance.