Allow changing supported networks/chains #497
JaegarSarauer
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm looking to change out the supported networks used to initialize the
RainbowKitProvider
so that I can support different networks with the chainModal UI on different pages of my app.Right now, the docs don't mention a way to enable or disable chains for the RainbowKit chainModal. I have tried registering all chains I need with
wagmi
, then supplying a subset of those chains toRainbowKitProvider
, this just breaks the modal.Example:
my-app.com/page/1
supports chainsMainnet
:While
my-app.com/page/2
support chainsPolygon
:It also appears that I cannot supply 0 supported chains to
RainbowKitProvider
. I could use 0 supported chains as an alternative and let the modal show this message if it were possible:Beta Was this translation helpful? Give feedback.
All reactions