• Register a "@wallet-standard/base".Wallet as a Standard Wallet with the app.

    This dispatches a "@wallet-standard/base".WindowRegisterWalletEvent to notify the app that the Wallet is ready to be registered.

    This also adds a listener for "@wallet-standard/base".WindowAppReadyEvent to listen for a notification from the app that the app is ready to register the Wallet.

    This combination of event dispatch and listener guarantees that the Wallet will be registered synchronously as soon as the app is ready whether the Wallet loads before or after the app.

    Parameters

    • wallet: Wallet

      Wallet to register.

    Returns void