WalletConnect Provider - eth_sendTransaction does not exist #1780
Unanswered
0xSandwich
asked this question in
Developer Support
Replies: 1 comment
-
I think issue could be caused by Also, you can probably simplify your logic for contracts by also using wagmi there i.e for contract writes https://wagmi.sh/react/hooks/useContractWrite |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm working on a dapp using web3modal v2 with wagmi.
Everything works fine for read functions such as getting maxSupply, mintPrice etc..
However for transaction calls it doesn't work, I get an error
eth_sendTransaction does not exist/is not available
I initialize walletconnect provider as shown in the docs on my app root file:
Then on my custom hook I create the contract instance using that same provider:
`
const provider = useProvider({chainId:5})
`
How to make transactions functions working with web3modal v2 ?
On an older project using walletconnect, I was set RPC provider and it was working. Can't find the way to do it with web3modal v2
Beta Was this translation helpful? Give feedback.
All reactions