rainbow-me / rainbowkit

The best way to connect a wallet 🌈 🧰
https://rainbowkit.com
MIT License
2.36k stars 617 forks source link

[bug] sending transaction not working for OKX wallet #2016

Closed melvinmcrn closed 1 month ago

melvinmcrn commented 1 month ago

Is there an existing issue for this?

RainbowKit Version

2.0.5, 2.1.1

wagmi Version

2

Current Behavior

When connecting to OKX wallet on a desktop (using chrome, brave), connecting the wallet works fine but when the user tries to send a transaction, it does not trigger OKX to sign a transaction.

It works fine for other wallets or other dApps that use other libraries though.

Expected Behavior

No response

Steps To Reproduce

No response

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

magiziz commented 1 month ago

@melvinmcrn I'm able to send a transaction with OKX wallet

image

We're using this test dApp to test https://rainbowkit-example.vercel.app

Can you share a small reproducible example with us ?

melvinmcrn commented 1 month ago

@melvinmcrn I'm able to send a transaction with OKX wallet

image

We're using this test dApp to test https://rainbowkit-example.vercel.app

Can you share a small reproducible example with us ?

Hi @magiziz, Where can I find the code behind the test dApp?

magiziz commented 1 month ago

@melvinmcrn You can find it here https://github.com/rainbow-me/rainbowkit/tree/main/packages/example. Let me know if this works 👍

magiziz commented 1 month ago

@melvinmcrn Have you figured out what was happening ?

melvinmcrn commented 1 month ago

@magiziz We haven't changed anything to our code but seems like it's working now. Maybe there was some problem with the OKX wallet itself.

Sorry for your time and thank you for your support! :)