You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a silly question. It seems that your code is calling certain functions in the Core contract without a wallet or sending ethers, e.g. getKitty and getStatus.
Is this the case? And how can this be?
Thanks.
The text was updated successfully, but these errors were encountered:
Those are read-only (i.e. constant) functions and require no ether to call. you only require ether for transaction which change the state (update values, remove values or add values).
This is why ethers.js makes a distinction between a signer (like a Wallet) and a mere provider.
I have a silly question. It seems that your code is calling certain functions in the Core contract without a wallet or sending ethers, e.g. getKitty and getStatus.
Is this the case? And how can this be?
Thanks.
The text was updated successfully, but these errors were encountered: