I sell goods for tokens. And I would like to make a wallet of goods for each user. So that he sees the amount of each product that he bought. Can I realize this in solidity? For example: through mapping? thanks
At the moment, I can exchange my goods for tokens. But for each product I have a separate wallet. for example, for product A msg.sender => amount, and for product B msg.sender => amount. I want to do msg.sender => goods (A or B or other) => amount.