Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
e4e300d
Initial wallet gui layout
sneakzttv Jun 12, 2024
30c350e
login menu update & tx history
sneakzttv Jun 12, 2024
631a540
Anchoring, exposing variables
sneakzttv Jun 13, 2024
3fb7661
Block explorer
sneakzttv Jun 13, 2024
9608ece
Scroll fix
sneakzttv Jun 13, 2024
cf7e9c5
WebGl js clipboard copy
sneakzttv Jun 13, 2024
6f9ca09
Modularization
sneakzttv Jun 13, 2024
b741fe8
xml typos
sneakzttv Jun 13, 2024
25dc9d3
Functionality
sneakzttv Jun 14, 2024
f73c54e
fix
sneakzttv Jun 14, 2024
444cbd6
null ref fixes
sneakzttv Jun 14, 2024
472b417
Additional config options added
sneakzttv Jun 14, 2024
db366dc
uml added
sneakzttv Jun 14, 2024
967aa35
Moved to main w3a package
sneakzttv Jun 14, 2024
b9e0c7f
cleanup
sneakzttv Jun 14, 2024
38b02e2
images fixed
sneakzttv Jun 14, 2024
9164a6a
Update Web3AuthWalletGUITxManager.cs
sneakzttv Jun 14, 2024
da68260
Merge branch 'dev' into sneakz/web3auth-wallet-gui
sneakzttv Jun 14, 2024
ab2f948
Colour customization
sneakzttv Jun 14, 2024
7377c0d
Merge branch 'sneakz/web3auth-wallet-gui' of https://github.com/Chain…
sneakzttv Jun 14, 2024
7426560
Update SampleLogin - Web3Auth.unity
sneakzttv Jun 14, 2024
4c988f0
fixes
sneakzttv Jun 14, 2024
034eb83
fixes
sneakzttv Jun 14, 2024
c13a95e
Update Web3AuthWalletGUI.cs
sneakzttv Jun 14, 2024
e77acc8
Colour updates
sneakzttv Jun 14, 2024
a80554f
fixes
sneakzttv Jun 14, 2024
1230fd3
Scaling for mobile devices
sneakzttv Jun 15, 2024
a2cf2f0
cleanup
sneakzttv Jun 15, 2024
1202188
minor fixes
sneakzttv Jun 15, 2024
9ceaf80
colour fixes
sneakzttv Jun 15, 2024
aa355df
uml
sneakzttv Jun 15, 2024
231f587
colour changes
sneakzttv Jun 15, 2024
4cd4575
typo
sneakzttv Jun 15, 2024
93d387d
wallet icon customization added
sneakzttv Jun 15, 2024
4015a1b
colour changes
sneakzttv Jun 15, 2024
576a8d9
Update Web3AuthWalletGUI.prefab
sneakzttv Jun 15, 2024
4bee197
custom font added
sneakzttv Jun 16, 2024
1e9b8e8
login changes
sneakzttv Jun 17, 2024
2004c60
wip
sneakzttv Jun 17, 2024
8b772ba
events
sneakzttv Jun 18, 2024
f8ecc87
fixes
sneakzttv Jun 18, 2024
a4cc241
events
sneakzttv Jun 18, 2024
d9bb07d
fixes
sneakzttv Jun 18, 2024
8f6ad32
custom token
sneakzttv Jun 18, 2024
f70ec80
cleanup
sneakzttv Jun 18, 2024
f1bc0ea
webgl paste fix
sneakzttv Jun 18, 2024
d2b0c73
Update Clipboard.jslib
sneakzttv Jun 18, 2024
420af18
Update Web3AuthWalletGUITokenManager.cs
sneakzttv Jun 18, 2024
f7cb9aa
final fixes
sneakzttv Jun 18, 2024
73c1656
borders and buttons
sneakzttv Jun 18, 2024
49a7165
ios fix
sneakzttv Jun 18, 2024
2da8110
Update ClipboardManager.m
sneakzttv Jun 18, 2024
4b45c38
Update Web3AuthWalletGUIUIManager.cs
sneakzttv Jun 18, 2024
c3915d1
Update Web3AuthWalletGUI.prefab
sneakzttv Jun 18, 2024
84e9153
Merge branch 'dev' into sneakz/web3auth-wallet-gui
sneakzttv Jun 19, 2024
f69116d
serialized classes removed, event system added, token fixes added, ve…
sneakzttv Jun 19, 2024
4e0f3a7
events
sneakzttv Jun 19, 2024
f31eb44
Update Web3AuthLoginProvider.cs
sneakzttv Jun 19, 2024
3ccdfc4
Merge branch 'dev' into sneakz/web3auth-wallet-gui
sneakzttv Jun 19, 2024
9220fd5
autotx
sneakzttv Jun 19, 2024
5a0e742
Update Web3AuthWalletGUITxManager.cs
sneakzttv Jun 19, 2024
42821f2
delegates
sneakzttv Jun 19, 2024
6517b83
Update Web3AuthEventManager.cs
sneakzttv Jun 19, 2024
2b44782
transaction security
sneakzttv Jun 20, 2024
299abe5
secure & ready
sneakzttv Jun 20, 2024
7f9bbe4
fixes
sneakzttv Jun 20, 2024
cd29031
Removing the fillProgress and replacing it with circleloadingimage fi…
kantagara Jun 20, 2024
d486209
Small nitpicking
kantagara Jun 20, 2024
b549447
Show private key if fill is complete
kantagara Jun 20, 2024
73b7d8c
Refactor improvements
rob1997 Jun 21, 2024
5a9f2d7
clipboard paste reverted and WebGL now builds
rob1997 Jun 21, 2024
5136260
revert dll changes
rob1997 Jun 24, 2024
ddfbbce
revert dll changes
rob1997 Jun 24, 2024
dc0ed64
revert dll changes
rob1997 Jun 24, 2024
9c70d43
revert samples move and unwanted changes
rob1997 Jun 24, 2024
8c50a42
more PR cleanup
rob1997 Jun 24, 2024
feb4948
DLL change reverted
rob1997 Jun 24, 2024
7f313b4
fix
sneakzttv Jun 24, 2024
a1d304b
Revert "fix"
sneakzttv Jun 24, 2024
5901faf
fix
sneakzttv Jun 24, 2024
b7f8e60
Merge branch 'dev' into sneakz/web3auth-wallet-gui
sneakzttv Jun 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using System;
using ChainSafe.Gaming.Evm.Transactions;

namespace ChainSafe.GamingSdk.Web3Auth
{
public interface IWeb3AuthTransactionHandler
{
public event Action<TransactionRequested> OnTransactionRequested;

public event Action<TransactionConfirmed> OnTransactionConfirmed;

public event Action<TransactionApproved> OnTransactionApproved;

public event Action<TransactionDeclined> OnTransactionDeclined;

public void RequestTransaction(TransactionRequested transactionRequested);

public void ConfirmTransaction(TransactionConfirmed transactionConfirmed);

public void ApproveTransaction(TransactionApproved transactionApproved);

public void DeclineTransaction(TransactionDeclined transactionDeclined);
}
}

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
@@ -0,0 +1,20 @@
mergeInto(LibraryManager.library, {
CopyToClipboard: function (text) {
var str = UTF8ToString(text);
navigator.clipboard.writeText(str).then(function () {
console.log('Text copied to clipboard: ' + str);
}).catch(function (error) {
console.error('Failed to copy text: ', error);
});
},

PasteFromClipboard: function () {
navigator.clipboard.readText().then(
clipText => {
nethereumUnityInstance.SendMessage('Web3AuthWalletGUI(Clone)', 'OnPasteWebGL', clipText);
}
).catch(err => {
console.error('Failed to read clipboard contents: ', err);
});
}
});

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
@@ -0,0 +1,13 @@
#import <UIKit/UIKit.h>

void CopyToClipboard(const char* text) {
NSString *textToCopy = [NSString stringWithUTF8String:text];
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string = textToCopy;
}

const char* PasteFromClipboard() {
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
NSString *pastedText = pasteboard.string;
return [pastedText UTF8String];
}

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.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading