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
Hello everyone, so I've looked at a few articles and the resolutions seem to be outdated. I am looking to use my infura API key to retrieve values from my smart contract without a user having their wallet connected, but use their wallet info once they connect.
I am unable to get this to work with the below config for wagmi (currently on latest version). Help is much appreciated.
And below is the useContractRead function I am reading from in another component. I tried setting the chainId in the useContractRead hook but that didn't work..
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone, so I've looked at a few articles and the resolutions seem to be outdated. I am looking to use my infura API key to retrieve values from my smart contract without a user having their wallet connected, but use their wallet info once they connect.
I am unable to get this to work with the below config for wagmi (currently on latest version). Help is much appreciated.
And below is the useContractRead function I am reading from in another component. I tried setting the chainId in the useContractRead hook but that didn't work..
Beta Was this translation helpful? Give feedback.
All reactions