Web3ModalUnity icon indicating copy to clipboard operation
Web3ModalUnity copied to clipboard

[feature] Wallet Connections on PC Unity Apps

Open brian-kryptomon opened this issue 2 years ago • 3 comments

What problem does this new feature solve?

The current solution for Unity on PC appears to be that we need to scan the QR code image generated by the web3modal plugin on a mobile phone. This feels cumbersome for a player who is already on PC and likely has their wallet on their browser.

We are looking for a single platform solution to connect a wallet in game to a browser based plugin.

Describe the solution you'd like

As a player I should be able to choose my wallet and if I am on PC it should give the QR code to scan or give a link that can be copy and pasted into a browser to connect via your browser wallet extension.

I tried to find solutions using the QR code copy link but I can't seem to find it. If this is supported it would be good to have some documentation on how to use this feature.

brian-kryptomon avatar Aug 15 '24 09:08 brian-kryptomon

Hello,

Thank you for opening the issue!

It's already possible to connect PC wallets. Below is the list of target platforms and connectors they support:

WebGL

  • Browser extensions such as Rabbit, MetaMask, Brave, etc (video clip below)
  • QR code
  • Deep Linking with local apps such as Ledger Live
  • Coinbase Smart Wallet

Desktop (Windows, macOS)

  • QR code
  • Deep Linking with local apps such as Ledger Live

Mobile

  • QR code
  • Deep Linking with local apps such as Trust, MetaMask, Rainbow, etc

https://github.com/user-attachments/assets/e54b2050-29ee-4cd1-a45d-cef1efdff96f

skibitsky avatar Aug 19 '24 13:08 skibitsky

On desktop - can I deep link to a browser metamask app? The main issue is many people have their wallets on their browser plugins and when they play our game on desktop they have to have their wallet on their mobile device if they want to sign. In an ideal world - the desktop sdk would have an option for folks to open their browser and sign via the metamask browser plugin.

Is this possible in some way?

On Mon, Aug 19, 2024 at 9:09 AM Gleb Skibitsky @.***> wrote:

Hello,

Thank you for opening the issue!

It's already possible to connect PC wallets. Below is the list of target platforms and connectors they support: WebGL

  • Browser extensions such as Rabbit, MetaMask, Brave, etc (video clip below)
  • QR code
  • Deep Linking with local apps such as Ledger Live
  • Coinbase Smart Wallet

Desktop (Windows, macOS)

  • QR code
  • Deep Linking with local apps such as Ledger Live

Mobile

  • QR code
  • Deep Linking with local apps such as Trust, MetaMask, Rainbow, etc

https://github.com/user-attachments/assets/e54b2050-29ee-4cd1-a45d-cef1efdff96f

— Reply to this email directly, view it on GitHub https://github.com/WalletConnect/Web3ModalUnity/issues/23#issuecomment-2296541200, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXQIF3A6SLSFCJZIGHY2OF3ZSHVAPAVCNFSM6AAAAABMR5C36OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJWGU2DCMRQGA . You are receiving this because you authored the thread.Message ID: @.***>

brian-kryptomon avatar Aug 19 '24 18:08 brian-kryptomon

MetaMask browser extension does not support WalletConnect unfortunately

chris13524 avatar Aug 20 '24 13:08 chris13524