Prompt users to connect to your app with their Coinbase wallet.
public async void ConnectWallet()
// Reference to your Thirdweb SDK
var sdk = ThirdwebManager.Instance.SDK;
// Configure the connection
var connection = new WalletConnection(
provider: WalletProvider.Coinbase, // The wallet provider you want to connect to (Required)
chainId: 1 // The chain you want to connect to (Required)
// Connect the wallet
string address = await sdk.wallet.Connect(connection);
Displays the Coinbase Wallet modal.