github-actions[bot] 3a5d3b92a8 Version Packages (#1100) 5 months ago
..
src 9ab7606c58 feat: use WalletConnect provided package for `walletconnect` adapter (#1073) 7 months ago
CHANGELOG.md 3a5d3b92a8 Version Packages (#1100) 5 months ago
LICENSE e973b51f4c Updating `@solana/wallet-adapter-walletconnect` to the latest changes 3 years ago
README.md 9a4529318a replace solana-labs/wallet-adapter with anza-xyz/wallet-adapter (#922) 1 year ago
package.json 3a5d3b92a8 Version Packages (#1100) 5 months ago
tsconfig.cjs.json 33af6643ac update tsconfig 3 years ago
tsconfig.esm.json 33af6643ac update tsconfig 3 years ago
tsconfig.json 2e1977314c Configure Turborepo to build, test, and lint everything 2 years ago

README.md

@solana/wallet-adapter-walletconnect

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'],
                  },
              },
          }),
      ],
      []
  );
  ...
}