Closed mahnunchik closed 3 months ago
we don't set up any chain id but for sure you need to apply for a wallet connect project id https://github.com/raydium-io/raydium-ui-v3/blob/master/src/provider/WalletProvider.tsx#L42. for more details, I think you should ask wallet connect teams.
@cruzshia the line of code you provided does the exact opposite: sets the chain id for WalletConnect
@solana/wallet-adapter-base
:
@jnwng/walletconnect-solana
https://github.com/WalletConnect/walletconnect-solana/blob/main/packages/walletconnect-solana/src/adapter.ts#L14-L16
I don't know where to ask the question, so I'll ask here
I'm developing crypto wallet and implementing a WaletConnect connection for Solana.
According to the documentation Solana chain id should be
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
but https://raydium.io/swap/ returns proposal withsolana:4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ
for mainnet.Could you tell me who is wrong?