import { WalletConnectWalletAdapter } from '@solana/wallet-adapter-walletconnect';
const App = () => {
...
const wallets = useMemo(
() => [
new WalletConnectWalletAdapter({
network,
options: {
relayUrl: 'wss://relay.walletconnect.com',
// example WC app project ID
projectId: 'e899c82be21d4acca2c8aec45e893598',
metadata: {
name: 'Example App',
description: 'Example App',
url: 'https://github.com/anza-xyz/wallet-adapter',
icons: ['https://avatars.githubusercontent.com/u/35608259?s=200'],
},
},
}),
],
[]
);
...
}
@solana-wc/adapter
0.1.1 • Public • Published Readme
Keywords
nonePackage Sidebar
Install
npm i @solana-wc/adapter
Repository
Weekly Downloads
2
Version
0.1.1
License
Apache-2.0
Unpacked Size
50 kB
Total Files
18