import { createThirdwebClient } from "thirdweb";
import { createWallet } from "thirdweb/wallets";
 
const client = createThirdwebClient({ clientId });
 
const wallet = createWallet("io.legionnetwork"); // pass the wallet id
 
// open WalletConnect modal so user can scan the QR code and connect
await wallet.connect({
  client,
  walletConnect: { showQrModal: true },
});