Docs

HyperPlay

Prompt users to connect to your app with their Hyperplay wallet.

Usage

using Thirdweb;

public async void ConnectWallet()
{
    // Reference to your Thirdweb SDK
    var sdk = ThirdwebManager.Instance.SDK;

    // Configure the connection
    var connection = new WalletConnection(
      provider: WalletProvider.Hyperplay,       // 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);
}

Behavior

WebGL

Not supported.

Standalone

Connects to the Hyperplay launcher user wallet.

Mobile

Connects to the Hyperplay launcher user wallet.