Issue with multi chain config for my use case #3728
Replies: 15 comments 1 reply
-
Hi @Mouneeswar-Medepally |
Beta Was this translation helpful? Give feedback.
-
Hi @rtomas, My Use Case:
Currently, this behavior is not happening. Can you help me resolve this issue? Solana config: export const solanaWeb3JsAdapter = new SolanaAdapter({ const projectId = import.meta.env.VITE_WEB3_WALLET_ID; export const solanaNetworks = [solana, solanaTestnet, solanaDevnet]; const metadata = { createAppKit({ Wagmi config: `import { createAppKit } from '@reown/appkit/react'; const projectId = import.meta.env.VITE_WEB3_WALLET_ID; const metadata = { export const wagmiNetworks = [mainnet, polygon]; export const wagmiAdapter = new WagmiAdapter({ createAppKit({ |
Beta Was this translation helpful? Give feedback.
-
I don't think that your way is possible. Can I know what are you building ? Is this example suitable for you https://github.com/reown-com/appkit-web-examples/tree/main/react/react-multichain ? |
Beta Was this translation helpful? Give feedback.
-
hi @rtomas , In the example above, both network wallets are displayed at the same time. However, I want to load them separately. For instance, when you configure Solana with Reown, it only shows wallets supported by Solana. I want to do the same for Ethereum, so each network displays only its related wallets. I’m working on a proof-of-ownership feature where users need to prove ownership of their address. If a user selects the Ethereum network, I want to show only Ethereum-compatible wallets—not both Solana and Ethereum. To achieve this, I used createAppKit twice to create modals with different configurations for Ethereum and Solana. However, only the first loaded modal configuration is being displayed right now. Is there any way to load differently configured modals within the same app? |
Beta Was this translation helpful? Give feedback.
-
Does the user need to verify ownership of both a Solana and EVM wallet? Or do they click Ethereum first? Please explain better the desired experience so we can assess what the best solution would be |
Beta Was this translation helpful? Give feedback.
-
There are 2 steps: In the first step, the user will enter an address and choose a network. So, If the user selects Solana, the appkit should load only Solana-supported wallets. |
Beta Was this translation helpful? Give feedback.
-
Why would the user "enter an address"? |
Beta Was this translation helpful? Give feedback.
-
We are maintaining address book of users |
Beta Was this translation helpful? Give feedback.
-
Hi, Thank you! |
Beta Was this translation helpful? Give feedback.
-
@Mouneeswar-Medepally we've received a few feature requests for this - let me circle back after catching up internally |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I also need this feature |
Beta Was this translation helpful? Give feedback.
-
Hello, are there any plans to release this feature? |
Beta Was this translation helpful? Give feedback.
-
Hey all, we've introduced functionalities to add/remove chain adapters and add/remove networks programmatically to AppKit as we needed them in demo.reown.com. So these are not official API yet as they are not included in the docs, but you can do a conditional things or dynamically update networks as we do in the Demo See example implementation here : https://github.com/reown-com/appkit/blob/main/apps/builder/providers/appkit-context-provider.tsx#L87-L158 We are calling Remind again this is not official API, so we don't guarantee that it'll be best suit for your needs. Also, it's up to your implementation to make it work great. cc @Mouneeswar-Medepally @Hicbik , @liuyun3640 @rtomas @arein |
Beta Was this translation helpful? Give feedback.
-
Link to minimal reproducible example
n/a
Summary
Hi Team,
I’m unable to create two separate Web3 modals in the same application for different networks, such as Ethereum and Solana.
Could you please assist with this?
Thanks
List of related npm package versions
"@reown/appkit": "^1.5.3",
"@reown/appkit-adapter-solana": "^1.5.3",
"@reown/appkit-adapter-wagmi": "^1.5.3",
Node.js Version
v20.5.1
Package Manager
[email protected]
Beta Was this translation helpful? Give feedback.
All reactions