Skip to content

Drop WebGl template and interact with browser wallets directly #517

@mpetrunic

Description

@mpetrunic

Summary
Currently, https://github.com/ChainSafe/web3.unity-webgl-template is severely limiting the functionality of SDK and increasing the size of games unnecessarily.

Suggested features or ways to address the summary

Implement interaction with window.ethereum directly. Example: https://github.com/Nethereum/Nethereum/blob/master/src/Nethereum.Unity.Metamask/NethereumMetamask.jslib

This means we will lose the WalletConnect option which we used through the web interface and instead, we should implement natively in C# using existing libraries (https://github.com/WalletConnect/WalletConnectSharp) which would enable wallet to connect across all platforms and not just on the web.

Motivation
[Why is this feature of general interest?]

  • faster game loading
  • more options for game developers
  • less maintenance on our side
  • better error control and handling

Blockers
(OPTIONAL) [Do you see any blocker that needs to be done before implementing this feature?]

Additional context
(OPTIONAL) [Add any other context or screenshots/videos about the feature request here.]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: FeatureAdded to issues and PRs to identify that the change is a new feature.Version: 2.5All the issues related to 2.5

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions