I understood that tokens are not stored in wallets, but instead, wallets are "watching" the blockchain for transactions related to their underlying addresses.
I also understood that ERC20, 721 and 1155 have a different underlying smart contract code with specific methods.
If I had to create a wallet and manage the deposit, the custody and the transfer of these 3 types of tokens, can this be done in a generic way, or do I have to implement a specific implementation per type of token?
Thank you for your help!