Facing issues in @walletconnect/solana-adapter #3132
akashswamy-maticz
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i need to integrate walletconnect(reown) in my project
// SolanaContext.js
import React, { useMemo } from 'react';
import { ConnectionProvider, WalletProvider } from '@solana/wallet-adapter-react';
import { WalletAdapterNetwork } from '@solana/wallet-adapter-base';
import { clusterApiUrl } from '@solana/web3.js';
import { WalletConnectWalletAdapter } from '@walletconnect/solana-adapter';
import '@solana/wallet-adapter-react-ui/styles.css';
export const SolanaContext = ({ children }) => {
const endpoint = useMemo(() => clusterApiUrl(WalletAdapterNetwork.Devnet), []);
};
this was my code i am geting children of undefined
import React from 'react';
import { useWallet } from '@solana/wallet-adapter-react';
import { WalletConnectButton } from '@solana/wallet-adapter-react-ui';
const Connectbutt = () => {
const { connected } = useWallet();
};
export default Connectbutt;
Walletconnet Model is no trigger i have tryed in so many way
Can any one Hepl me complete this
Beta Was this translation helpful? Give feedback.
All reactions