-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
* optional timeout introduced * clover to mrg renaming * Mirage NFT usage example (#131) * mirage nft example finished * minor renaming * remove unused method * post review changes * remove unused using statement * Webgl build errors fixes (#132) * webgl updates wip * webgl wip * minor renamings + webgl template change * build errors fixes wip * webgl websocket fixes * meta file small update * change dlls meta settings * remove unused dlls * integrate webgl websocket * log assets with extension * minor typo fix * webgl template updates * Nethereum source note added * meta files * minor safety improvement + reformat * template updated (#133) * turn off il2cpp for standalone builds because QRCoder does not compile well in this case * WebGL WalletConnect WebSocket bugfixes + updates to recent version of Unity WebGL (#135) * websocket bug fixes for webgl * triple s typo fix * single quotes * reformat and cleanup jslib * turn off il2cpp for standalone builds because QRCoder does not compile well in this case * WebGLConnect refactoring and interface generalization with WalletConnect (#136) * webgl connect interface generalization * webgl generalization * webgl generalization finished * platform related compile errors fixed * settings update * default wallet to none * Pointer_stringify changed to UTFToString * turn off debug mode * webgl hardcoded value moved to variable * Revert "Dev to Master (#134)" This reverts commit 293e57e. # Conflicts: # ProjectSettings/ProjectSettings.asset --------- Co-authored-by: alekseeveg <alekseev@ankr.com> Co-authored-by: Anton VIkharev <anton@mirage.xyz>
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
using System; | ||
using Cysharp.Threading.Tasks; | ||
using UnityEngine; | ||
|
||
namespace MirageSDK.WalletConnect.VersionShared | ||
{ | ||
public interface IWalletConnectable | ||
{ | ||
string WalletName { get; } | ||
UniTask<string> GetDefaultAccount(string network = null); | ||
event Action<string[]> OnAccountChanged; | ||
string SettingsFilename { get; } | ||
void Initialize(ScriptableObject settings); | ||
UniTask Connect(); | ||
UniTask CloseSession(bool connectNewSession = true); | ||
UniTask<string> ReconnectSession(); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System; | ||
using MirageSDK.WalletConnectSharp.Core.StatusEvents; | ||
|
||
namespace MirageSDK.WalletConnectSharp.Core | ||
{ | ||
public interface IWalletConnectStatusHolder | ||
{ | ||
event Action<WalletConnectTransitionBase> SessionStatusUpdated; | ||
WalletConnectStatus Status { get; } | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
using MirageSDK.WalletConnect.VersionShared.Infrastructure; | ||
using MirageSDK.WalletConnectSharp.Core; | ||
|
||
namespace MirageSDK.WalletConnectSharp.Unity.Events | ||
namespace MirageSDK.WalletConnectSharp.Core.StatusEvents | ||
{ | ||
public class SessionCreatedTransition : WalletConnectTransitionBase | ||
{ | ||
public SessionCreatedTransition(IWalletConnectTransitionDataProvider transitionDataProvider, WalletConnectStatus previousStatus, WalletConnectStatus newStatus) | ||
: base(transitionDataProvider, previousStatus, newStatus) | ||
{ | ||
|
||
} | ||
} | ||
} |