This is a RainbowKit + wagmi + Next.js project bootstrapped with create-rainbowkit
.
Here are some attempts to integrate kaikas wallet with RainbowKit, testing with safari on iPhone
import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'
Click Kaikas wallet icon on the website, it will open kaikas, but nothing happened, it will not ask the user to connect the wallet.
The url schema doesn't work, so I have changed
kaikas://walletconnect?uri=${encodeURIComponent(uri)}
to:
kaikas://wallet/browser?url=${encodeURI(window.location.origin)}
Now, it will open the website inside Kaikas wallet, but when user click the wallet icon, nothing happened.
One possible reason is that the Kaikas wallet inside iPhone doesn't implement https://eips.ethereum.org/EIPS/eip-1193
Rainbowkit is the most popular web3 wallet for mobile, but it will be great if we can integrate kaikas with RainbowKit. A PR to RainbowKit to update the kaikasWallet.ts
will be great