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
eip-1193 - Invalid contract call: address=.... "MetaMask: 'ethereum.send(...)' is deprecated and may be removed in the future. Please use 'ethereum.sendAsync(...)' or 'ethereum.request(...)' instead."
#342
Closed
phutngo opened this issue
Sep 24, 2021
· 3 comments
I have a React front end that looks like it is working perfectly with my smart contract but I'm getting these warnings on page load.
MetaMask: 'ethereum.send(...)' is deprecated and may be removed in the future. Please use 'ethereum.sendAsync(...)' or 'ethereum.request(...)' instead.
MetaMask: The event 'close' is deprecated and may be removed in the future. Please use 'disconnect' instead.
MetaMask: The event 'networkChanged' is deprecated and may be removed in the future. Use 'chainChanged' instead.
For more information, see: https://eips.ethereum.org/EIPS/eip-1193
Is this an issue with useDapp? Any tips to point me ion the right direction?
The text was updated successfully, but these errors were encountered:
phutngo
changed the title
Invalid contract call: address=.... "MetaMask: 'ethereum.send(...)' is deprecated and may be removed in the future. Please use 'ethereum.sendAsync(...)' or 'ethereum.request(...)' instead."
eip-1193 - Invalid contract call: address=.... "MetaMask: 'ethereum.send(...)' is deprecated and may be removed in the future. Please use 'ethereum.sendAsync(...)' or 'ethereum.request(...)' instead."
Sep 26, 2021
So i've attempted to fork and fix InjectedConnector myself but can't seem to get the dependency resolution section to resolve everything. There are actually patches for both of these which probably could/should be merged, but if I can just fork it myself I'll be good.
I have a React front end that looks like it is working perfectly with my smart contract but I'm getting these warnings on page load.
MetaMask: 'ethereum.send(...)' is deprecated and may be removed in the future. Please use 'ethereum.sendAsync(...)' or 'ethereum.request(...)' instead.
MetaMask: The event 'close' is deprecated and may be removed in the future. Please use 'disconnect' instead.
MetaMask: The event 'networkChanged' is deprecated and may be removed in the future. Use 'chainChanged' instead.
For more information, see: https://eips.ethereum.org/EIPS/eip-1193
Is this an issue with useDapp? Any tips to point me ion the right direction?
The text was updated successfully, but these errors were encountered: