Describe the bug
When using SubWalletConnector, the chains object from wagmi and rainbowkit is incompatible
To Reproduce
Steps to reproduce the behavior:
import { Chain, Wallet } from '@rainbow-me/rainbowkit';
export interface MyWalletOptions {
chains: Chain[];
}
const connector = new SubWalletConnector({
chains,
});
//Types of property 'public' are incompatible.
//Type 'RpcUrls' is not assignable to type 'string
Expected behavior
To have no typescript errors
Screenshots
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug When using SubWalletConnector, the
chains
object from wagmi and rainbowkit is incompatibleTo Reproduce Steps to reproduce the behavior:
Expected behavior To have no typescript errors
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.
I had to fork talisman connector to apply the fix also https://github.com/Yuripetusko/talisman-connectors