Open juans-chainsafe opened 1 day ago
This is expected as the sample requests balance for the current user, which means we need wallet to be connected in order to read the wallet address.
The sample should be reworked however to fetch the balance of the predefined wallet address instead of the balance of the connected wallet.
Describe the bug Sample BalanceOf located in ERC-1155 section is throwing a error when you click on it and the wallet is not connected. But we shouldn't need a wallet connected for this sample
Steps Steps to reproduce the behavior:
Expected behavior Balance will be displayed in the console
Console errors
Desktop (please complete the following information):
Additional context BalanceOf of ERC-721 works as expected.