BuidlGuidl / burnerwallet

https://burner.buidlguidl.com
MIT License
1 stars 1 forks source link

bug: Can't send ETH #36

Closed carletex closed 5 months ago

carletex commented 5 months ago

Wanted to check the latest changes from last week and tried to create a burner, receive some ETH and send some.

Sending ETH doesn't seem to work for me (tried Sepolia & OP Mainnet)

Is this also happening to you all?

ChangoMan commented 5 months ago

Hmm I just tried it, it worked once on Sepolia but then stopped working. Looking through the network logs, I saw an error for insufficient funds but it was a call to mainnet instead of sepolia.

There might be some funky config thing happening when switching the network, in that the useSendTransaction hook still thinks it is on mainnet once the saved chainId is loaded from local storage.

I think I can fix it

carletex commented 5 months ago

Yep, my impression was that the TX wasn't being sent on the selected network.

Thanks Hunter!