/WalletConnectSharp-Fork

A fork of WalletConnectSharp implementation required to combine its WalletConnect 2.0 features with AnkrSDK repository

Primary LanguageC#Apache License 2.0Apache-2.0

WalletConnectSharp-Fork

This repository contains a fork of WalletConnectSharp implementation required to combine its WalletConnect 2.0 protocol features with AnkrSDK repository.

Initial content of this repo is coming from this commit of WalletConnectSharp repo.

The core change we had to do in order to make DLLs built with this repo solution compatible with Ankr Unity SDK implementation is to remove WalletConnectSharp.Crypto project dependency on BouncyCastle.Cryptography nuget package in order to avoid duplicate classes compilation error since Ankr Unity SDK already contains BouncyCastle.Crypto DLL with a subset of classes contained in BouncyCastle.Cryptography. Instead of using BouncyCastle.Cryptography nuget dependency we created Imported folder in WalletConnectSharp2.Crypto project of this repo and moved all of the required classes from BouncyCastle.Cryptography github repo v2.0 release branch commit directly to Imported folder. We also had to rename several namespaces from WalletConnectSharp.* to WalletConnectSharp2.* to avoid duplicate class names.