Closed jaca420 closed 1 month ago
Hello @jaca420, you don't see Phantom Wallet because Phantom Wallet does not support our protocol, therefor it can't be used with WalletConnect.
As per featuredWalletIds
is pretty simply, the explanation is in the docs but basically you should
featuredWalletIds
set so the wallet can be prioritized in the list (or add the wallet id to the includedWalletIds
if you want to show only this wallet or add the wallet id to the excludedWalletIds
if you want to exclude this wallet)Note: You'll see Phantom Wallet listed in the explorer because it can be used on web platforms as injected wallet but that is not the case on native mobile platforms.
Hello @quetool and thank you for your reply!
I understand, so maybe I'll use it in a React application that will allow users to connect their wallets. All I'm interested in is getting users to connect their wallets and save their address. No transaction or anything like that.
I installed the package in a React app, and was able to connect my Phantom wallet from my browser, but only on Ethereum, I don't know how to add Solana to the chains
// 5. Create a Web3Modal instance
createWeb3Modal({
ethersConfig,
chains: [mainnet],
projectId,
enableAnalytics: true, // Optional - defaults to your Cloud configuration
});
How do I set up Solana? The current setup only has Ethereum.
// 2. Set chains
const mainnet = {
chainId: 1,
name: "Ethereum",
currency: "ETH",
explorerUrl: "https://etherscan.io",
rpcUrl: "https://cloudflare-eth.com",
};
Describe the bug A clear and concise description of what the bug is. Added the plugin to my flutter application, but out of all 300+ wallets, the one that I need (Phantom) is not there and I can't find anything in the documentation that will help. And I don't know how to create featured wallets with featuredWalletIds.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Smartphone (please complete the following information):
Additional context So this is what I am doing
And the AndroidManifest looks like this:
Right now I get Trust, Metamask, Safe and Rainbow as well as All wallets.
What I would like to have is Metamask, Trust and Phantom. Shouldn't the featuredWalletIds force these three wallets to be displayed? I would also like to have the Solana network available in the network connections.