Docs

Roam

https://roam.xyz
Play StorePlay StorePlay Store

Wallet ID

"xyz.roam.wallet";

Connect Wallet

import { createThirdwebClient } from "thirdweb";
import { createWallet, injectedProvider } from "thirdweb/wallets";
const client = createThirdwebClient({ clientId });
const wallet = createWallet("xyz.roam.wallet"); // pass the wallet id
// if user has wallet installed, connect to it
if (injectedProvider("xyz.roam.wallet")) {
await wallet.connect({ client });
}
// open WalletConnect modal so user can scan the QR code and connect
else {
await wallet.connect({
client,
walletConnect: { showQrModal: true },
});
}