Particle-Network / particle-web-demo

Particle Network Web SDK Demo.
https://web-demo.particle.network/
Apache License 2.0
68 stars 26 forks source link

Do not working with RainbowKitAuthenticationProvider #9

Open sylvestrevgenhiveon opened 1 year ago

sylvestrevgenhiveon commented 1 year ago

Hello. I can't find "rainbowkit-ext", so making issue here.

We use RainbowKitAuthenticationProvider for our custom authorization: verify Ethereum message and log in or not. Everything is work with default wallets by Rainbow Kit: Metamask, Trust Wallet, WalletConnect protocol also good.

But particle wallets not working with these approach. If we remove RainbowKitAuthenticationProvider - particle wallet connecting. Problems appear when we need to verify with send and sign message. There was "Error signing message. Please retry" in Rainbow Kit. Error from particle: "Unknown RPC error: Details: User not login, Version: viem@1.10.12".

Interesting, that if I sign in with just email and code, and want to verify and sign message - everything works :) But, if I use particleWallet({ chains, authType: "google" }) or apple or etc, it is not working. Also, there is another error when I try to sign in with particleWallet({ chains }) and choose google or apple etc, there was an error "System error, Param not found."

Please, help :)

sylvestrevgenhiveon commented 1 year ago

UPDATE: Everything is working on colleague machine in West Europe. I am in Ukraine now, and it is still not working on my side. Is this a cause of problem?