Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
417 commits
Select commit Hold shift + click to select a range
77c0eaa
Auto Commit [skip ci]
rob1997 Aug 29, 2024
461d4a6
MUD Integration V3 (#1098)
creeppak Sep 3, 2024
34a37b4
Fixing compier error issues. Updated web3auth Client ID
kantagara Sep 4, 2024
5bb9845
Bugfix. Integration tests were using an empty project config. (#1122)
creeppak Sep 5, 2024
d4586a0
Throwing an exception with a different message when there is an HTTP …
creeppak Sep 5, 2024
56bb280
Auto Commit [skip ci]
kantagara Sep 5, 2024
0931473
Fixing the server settings issue (#1127)
kantagara Sep 5, 2024
9b30ba8
Auto Commit [skip ci]
kantagara Sep 5, 2024
847f19d
Remember me issue fix (#1116)
rob1997 Sep 5, 2024
d1a73b9
Auto Commit [skip ci]
kantagara Sep 5, 2024
69ea0ce
paste should work on webgl for all input fields (#1124)
kantagara Sep 5, 2024
1513f2f
WC RPC requests (#1123)
rob1997 Sep 5, 2024
e4af96c
Wallet connect on webgl (#1118)
kantagara Sep 6, 2024
b75184b
Auto Commit [skip ci]
kantagara Sep 6, 2024
3bcf5f8
Hyperplay WebGL Fix [merge after #1116] (#1128)
rob1997 Sep 7, 2024
a9b85d3
Auto Commit [skip ci]
kantagara Sep 7, 2024
63603aa
Fixing the issue in marketplace where the collection image wouldn't s…
kantagara Sep 10, 2024
2214b4b
Auto Commit [skip ci]
kantagara Sep 10, 2024
003ddeb
Fixing marketplace listing all items even the ones that are sold.
kantagara Sep 10, 2024
74111a8
Auto Commit [skip ci]
kantagara Sep 10, 2024
5e95231
Getting images from the NFTs metadata
kantagara Sep 10, 2024
2c66e7b
Merge branch 'dev' of https://github.com/ChainSafe/web3.unity into dev
kantagara Sep 10, 2024
9f5d152
Auto Commit [skip ci]
kantagara Sep 10, 2024
a5dc1dd
Fixing abi csharp converter
kantagara Sep 12, 2024
a22dc52
Auto Commit [skip ci]
kantagara Sep 12, 2024
2938967
Async utilities instead of threading patcher
kantagara Sep 13, 2024
3b5c3b4
Auto Commit [skip ci]
kantagara Sep 13, 2024
f3fc513
Wallet Connect works again, had to push it directly here to avoid a l…
kantagara Sep 13, 2024
1859236
Auto Commit [skip ci]
kantagara Sep 13, 2024
412edba
Chain Switching (#1134)
creeppak Sep 14, 2024
95496bc
Auto Commit [skip ci]
creeppak Sep 14, 2024
9418baf
Web3Accessor -> Web3Unity (#1129)
rob1997 Sep 16, 2024
3feb2d6
Fixing tests.
kantagara Sep 16, 2024
efbc166
Auto Commit [skip ci]
kantagara Sep 16, 2024
a2ae270
Nikola/fix tests (#1152)
kantagara Sep 17, 2024
485f2b5
Better way of adding dependencies' (#1150)
rob1997 Sep 17, 2024
939bab0
Nikola/remove marketplace from sample main (#1151)
kantagara Sep 18, 2024
4a336a8
Auto Commit [skip ci]
kantagara Sep 18, 2024
9dd0d91
Webgl template switch fix (#1153)
sneakzttv Sep 19, 2024
78e0127
Auto Commit [skip ci]
kantagara Sep 19, 2024
13d8818
More ABI types
kantagara Sep 20, 2024
c5e45a0
Auto Commit [skip ci]
kantagara Sep 20, 2024
565c2fb
If contracts data is null return default value of the type.
kantagara Sep 20, 2024
82fd931
Auto Commit [skip ci]
kantagara Sep 20, 2024
65c0400
Single Scene (#1154)
rob1997 Sep 23, 2024
88b4666
Auto Commit [skip ci]
rob1997 Sep 23, 2024
b6135d5
Chain Switching samples fix (#1160)
creeppak Sep 24, 2024
95bf6bf
Auto Commit [skip ci]
creeppak Sep 24, 2024
ef43e4a
Web3Auth bug fixes (#1161)
rob1997 Sep 30, 2024
2f740f6
Auto Commit [skip ci]
rob1997 Sep 30, 2024
029156a
Web3Auth WebGL fix (#1170)
rob1997 Oct 2, 2024
f28f503
Auto Commit [skip ci]
rob1997 Oct 2, 2024
742f777
Simplified Chain Switching API (#1168)
creeppak Oct 2, 2024
dafb1bf
MUD Sample Scene was missing with package manager import (#1166)
creeppak Oct 2, 2024
f32ec0f
Nikola/uri not working erc1155 erc721 (#1176)
kantagara Oct 3, 2024
ecd18b3
Balance of batch fixed
kantagara Oct 3, 2024
570e2aa
Merge branch 'dev' of https://github.com/ChainSafe/web3.unity into dev
kantagara Oct 3, 2024
8f34e8c
Added WebGL Threading Patcher as well to accompany the Async Utilitie…
kantagara Oct 3, 2024
93ffe13
Ramp added to the samples main once again.
kantagara Oct 3, 2024
7096923
Temporarily removing mud to test something out.
kantagara Oct 3, 2024
ad820c2
Up everything to 3.0.0
kantagara Oct 3, 2024
44b1e50
Polling Event Manager - EVM events subscription for WebGL (#1163)
creeppak Oct 3, 2024
34308b4
Read-only Web3 (#1167)
rob1997 Oct 4, 2024
c0bd014
3.0.0 everywhere (#1177)
kantagara Oct 4, 2024
cef70ac
Auto Commit [skip ci]
rob1997 Oct 4, 2024
33a6f9c
Removed that ugly ramp is available logerror.
kantagara Oct 4, 2024
dde199c
Auto Commit [skip ci]
kantagara Oct 4, 2024
0e072ec
W3A Transaction Executor fix
rob1997 Oct 4, 2024
c54b7a7
Auto Commit [skip ci]
rob1997 Oct 4, 2024
2382d91
Event subscription feat. Oleksandr's amazing event manager. (#1179)
kantagara Oct 4, 2024
4a05857
Auto Commit [skip ci]
kantagara Oct 4, 2024
2a0de1a
Contract ABI to C# converter unified name.
kantagara Oct 7, 2024
bde2f4c
ABI Csharp contract improvement.
kantagara Oct 7, 2024
eeffb12
Core package fixes (#1181)
rob1997 Oct 7, 2024
add0f4a
tests fix
rob1997 Oct 8, 2024
4b6fc1e
Auto Commit [skip ci]
rob1997 Oct 8, 2024
85908ab
Marketplace Sample scene (#1182)
kantagara Oct 8, 2024
c71cbc2
Auto Commit [skip ci]
kantagara Oct 8, 2024
0aed592
Removed countly boing sound which was malformed.
kantagara Oct 9, 2024
76e4ce7
Auto Commit [skip ci]
kantagara Oct 9, 2024
bf928a3
Removing All service adapters that are not relevant from sample main.
kantagara Oct 9, 2024
d7fa9e2
Terminate now calls onDestory for lightweight web3
rob1997 Oct 9, 2024
d1a58ed
Dispatcher missing Exception fix
rob1997 Oct 9, 2024
11d20d8
Auto Commit [skip ci]
rob1997 Oct 9, 2024
1879a1b
Events Lag fix
rob1997 Oct 9, 2024
74c7a52
Merge branch 'dev' of https://github.com/ChainSafe/web3.unity into dev
rob1997 Oct 9, 2024
1dee9bd
Auto Commit [skip ci]
rob1997 Oct 9, 2024
76b9684
Potential fix for index out of range exception
kantagara Oct 9, 2024
a869f49
editor usability fixes
rob1997 Oct 9, 2024
21dbfe6
Merge branch 'dev' of https://github.com/ChainSafe/web3.unity into dev
rob1997 Oct 9, 2024
1941d9f
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 Oct 9, 2024
c0878b4
tests fix
rob1997 Oct 9, 2024
83494e7
Auto Commit [skip ci]
rob1997 Oct 9, 2024
e18744a
merged to main
rob1997 Oct 9, 2024
c70153f
Auto Commit [skip ci]
rob1997 Oct 9, 2024
e6b9da3
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 Oct 9, 2024
0b23c2a
Merge branch 'main' into dev
rob1997 Oct 9, 2024
4aa6c33
Branded GUI - Connect Screen, Web3Auth, Loading Overlay, Error Overla…
creeppak Oct 14, 2024
9f885a1
Auto Commit [skip ci]
creeppak Oct 14, 2024
c30d3af
Merged from main
rob1997 Oct 15, 2024
09b8761
Auto Commit [skip ci]
rob1997 Oct 15, 2024
7167642
merged to main
rob1997 Oct 22, 2024
1513014
Sync Dependencies [skip ci]
rob1997 Oct 22, 2024
49cc610
WalletConnect transforms into Reown (#1199)
creeppak Oct 22, 2024
49f01c5
Sync Dependencies [skip ci]
creeppak Oct 22, 2024
0f2b995
Removing dll metafiles related to WC
kantagara Oct 23, 2024
a208782
Sync Dependencies [skip ci]
kantagara Oct 23, 2024
89c56b9
Update Web3Unity.cs
kantagara Oct 28, 2024
76f9584
Sync Dependencies [skip ci]
kantagara Oct 28, 2024
add5c8a
It's actually a property since that way it's way nicer.
kantagara Oct 28, 2024
2c94363
Merge branch 'dev' of https://github.com/ChainSafe/web3.unity into dev
kantagara Oct 28, 2024
87998eb
Sync Dependencies [skip ci]
kantagara Oct 28, 2024
35ec780
We already have .Address
kantagara Oct 28, 2024
19a14aa
Merge branch 'dev' of https://github.com/ChainSafe/web3.unity into dev
kantagara Oct 28, 2024
e30bfae
Sync Dependencies [skip ci]
kantagara Oct 28, 2024
a478bd2
Fixing ABI<->CSharp converter breaking if there are NO names in the p…
kantagara Oct 28, 2024
e1ef823
Sync Dependencies [skip ci]
kantagara Oct 28, 2024
564b975
Added functionality to download all the available wallets for Reown (…
creeppak Nov 4, 2024
18c9919
Sync Dependencies [skip ci]
creeppak Nov 4, 2024
40b3a67
Reown Improvements (#1229)
creeppak Nov 7, 2024
cec0d15
Sync Dependencies [skip ci]
creeppak Nov 7, 2024
f3d0b15
Merge branch 'main' into dev
kantagara Nov 8, 2024
226276d
Sync Dependencies - Auto Commit
kantagara Nov 8, 2024
5b65a19
New GUI for Reown Connection Provider (#1213)
creeppak Nov 11, 2024
d12d8b8
Sync Dependencies - Auto Commit
creeppak Nov 11, 2024
2b68d23
Duplicated Samples [skip ci]
creeppak Nov 11, 2024
efc287c
Add a new Menu Item to spawn Web3Unity object using the context menu …
creeppak Nov 11, 2024
71c1d69
AnvilConnectionProvider fix
creeppak Nov 11, 2024
0001b8c
Sync Dependencies - Auto Commit
creeppak Nov 11, 2024
25fd208
Removed temp/mud-sandbox
creeppak Nov 11, 2024
701b8cc
Merge branch 'dev' of github.com-creeppak:ChainSafe/web3.unity into dev
creeppak Nov 11, 2024
50b77d6
Sync Dependencies - Auto Commit
creeppak Nov 11, 2024
10d4fd8
Updated README file to reflect the changes of the upcoming release
creeppak Nov 11, 2024
3e1fe58
Added the missing meta files
creeppak Nov 11, 2024
704d4e2
Merge branch 'dev' of github.com-creeppak:ChainSafe/web3.unity into dev
creeppak Nov 11, 2024
e87f4dc
Sync Dependencies - Auto Commit
creeppak Nov 11, 2024
0b38c3d
Added missing meta files for the new libraries
creeppak Nov 12, 2024
77a9ae7
Sync Dependencies - Auto Commit
creeppak Nov 12, 2024
3300f35
Compile error fixed in core package
creeppak Nov 12, 2024
b791305
Merge branch 'dev' of github.com-creeppak:ChainSafe/web3.unity into dev
creeppak Nov 12, 2024
8f18463
Sync Dependencies - Auto Commit
creeppak Nov 12, 2024
47b72d6
Fixed broken meta-files
creeppak Nov 12, 2024
94e31d9
Merge branch 'dev' of github.com-creeppak:ChainSafe/web3.unity into dev
creeppak Nov 12, 2024
f8077a3
Sync Dependencies - Auto Commit
creeppak Nov 12, 2024
32590bd
Added an instance method for Web3Unity to open the connection screen
creeppak Nov 12, 2024
66b7ed3
Merge branch 'dev' of github.com-creeppak:ChainSafe/web3.unity into dev
creeppak Nov 12, 2024
05e79cc
Sync Dependencies - Auto Commit
creeppak Nov 12, 2024
9fd523f
Duplicated Samples [skip ci]
creeppak Nov 12, 2024
d174d4c
Added Auto-Initialization options to Web3Unity
creeppak Nov 12, 2024
7b8ff78
Merge branch 'dev' of github.com-creeppak:ChainSafe/web3.unity into dev
creeppak Nov 12, 2024
7a20596
Sync Dependencies - Auto Commit
creeppak Nov 12, 2024
e71ab4f
Removed unnecessary log from Web3SettingsEditor.ChainSettings.cs
creeppak Nov 12, 2024
4578247
Added back the now obsolete ConnectScreen property
creeppak Nov 12, 2024
e48853f
Improved GUI graphics
creeppak Nov 12, 2024
37d5850
Merge branch 'dev' of github.com-creeppak:ChainSafe/web3.unity into dev
creeppak Nov 12, 2024
1d9d8bb
Sync Dependencies - Auto Commit
creeppak Nov 12, 2024
87c9f4a
Made background fully opaque for all the Connection Screens
creeppak Nov 12, 2024
5acc41c
Merge branch 'dev' of github.com-creeppak:ChainSafe/web3.unity into dev
creeppak Nov 12, 2024
7b4efa6
Sync Dependencies - Auto Commit
creeppak Nov 12, 2024
0070d65
#1236 Web3Auth stuck in a loop the first time you connect
creeppak Nov 12, 2024
9e64061
Merge branch 'dev' of github.com-creeppak:ChainSafe/web3.unity into dev
creeppak Nov 12, 2024
e7b4eef
Sync Dependencies - Auto Commit
creeppak Nov 12, 2024
1fa7a50
Reown fixes (#1240)
creeppak Nov 13, 2024
d566329
Sync Dependencies - Auto Commit
creeppak Nov 13, 2024
5bc8a23
Merge branch 'main' into dev
kantagara Nov 14, 2024
61a8f1b
Fixing setup.sh
kantagara Nov 14, 2024
c2e55b6
More fixes
kantagara Nov 14, 2024
e1fc536
Sync Dependencies - Auto Commit
kantagara Nov 14, 2024
f5ab9a0
Fixing the issue with Reown randomly dying when switching the app. (#…
kantagara Nov 25, 2024
22ddeff
Sync Dependencies - Auto Commit
kantagara Nov 25, 2024
1d7c3c9
Fixing erc721 and erc1155 samples reported by Juan. (#1247)
kantagara Nov 27, 2024
3b5cf14
WebGL working now (#1248)
kantagara Nov 27, 2024
35318ab
Sync Dependencies - Auto Commit
kantagara Nov 27, 2024
e3d8cba
Duplicated Samples [skip ci]
kantagara Nov 27, 2024
e776a21
Metadata now has a default value which should prevent our users to co…
kantagara Nov 27, 2024
6cef52d
Sync Dependencies - Auto Commit
kantagara Nov 27, 2024
914c2d6
added url as well since it seems like it's breaking if we don't have it
kantagara Nov 27, 2024
15be956
Sync Dependencies - Auto Commit
kantagara Nov 27, 2024
757faa0
Fixing issue #1219 from TheOneVries
kantagara Nov 27, 2024
c3068c7
Merge branch 'dev' of https://github.com/ChainSafe/web3.unity into dev
kantagara Nov 27, 2024
05591a2
Sync Dependencies - Auto Commit
kantagara Nov 27, 2024
e481fc9
Exclude Paths - Auto Commit
rob1997 Dec 3, 2024
ad40715
Sync to main - Auto Commit
rob1997 Dec 3, 2024
9bb0754
Sync Dependencies - Auto Commit
rob1997 Dec 3, 2024
2d7ea03
Exclude Paths - Auto Commit
rob1997 Dec 3, 2024
c534660
Sync to main - Auto Commit
rob1997 Dec 3, 2024
588f439
Sync Dependencies - Auto Commit
rob1997 Dec 3, 2024
9939c02
Now the default behaviour for switching the chain is actually to try …
kantagara Dec 3, 2024
f3df357
Sync Dependencies - Auto Commit
kantagara Dec 3, 2024
f4a25d1
Duplicated Samples [skip ci]
kantagara Dec 3, 2024
d9b64f5
SignMessageWithPrivateKey changed from HashAndSign to Sign
kantagara Dec 4, 2024
e806d6d
Sync Dependencies - Auto Commit
kantagara Dec 4, 2024
bfe3e01
Lootbox samples for re-usability (#1230)
sneakzttv Dec 9, 2024
93769c8
Sync Dependencies - Auto Commit
sneakzttv Dec 9, 2024
91f497b
Nft tracker (#1252)
sneakzttv Dec 9, 2024
19f4745
Sync Dependencies - Auto Commit
sneakzttv Dec 9, 2024
3a411da
2.6 -> 3.1
kantagara Dec 9, 2024
c526a13
Sync Dependencies - Auto Commit
kantagara Dec 9, 2024
b931ced
Duplicate Sample CI fix (#1254)
rob1997 Dec 11, 2024
0db6093
Sync Dependencies - Auto Commit
kantagara Dec 11, 2024
39c27ea
Duplicated Samples [skip ci]
kantagara Dec 11, 2024
2ac2bd1
Remember me behavior fixed (#1255)
rob1997 Dec 11, 2024
6f74ed3
Sync Dependencies - Auto Commit
kantagara Dec 11, 2024
3ded678
Toast Overlay Type Implemented (#1256)
rob1997 Dec 13, 2024
acb93db
Sync Dependencies - Auto Commit
rob1997 Dec 13, 2024
dc6c277
Toggle chain not working with Metamask in WebGL #1257 (#1261)
creeppak Dec 16, 2024
a2cf248
Sync Dependencies - Auto Commit
creeppak Dec 16, 2024
7a87abb
Update read me (#1266)
sneakzttv Jan 9, 2025
2ea5a47
Sync Dependencies - Auto Commit
sneakzttv Jan 9, 2025
2f859e6
Webhook project setttings fix (#1265)
sneakzttv Jan 9, 2025
f9a4abe
Sync Dependencies - Auto Commit
sneakzttv Jan 9, 2025
27c6f21
Updating github actions cache version (#1269)
sneakzttv Jan 9, 2025
a74ac94
Sync Dependencies - Auto Commit
sneakzttv Jan 9, 2025
533adad
SDK warning fixes (#1267)
sneakzttv Jan 9, 2025
b9ef149
Sync Dependencies - Auto Commit
sneakzttv Jan 9, 2025
f447032
Duplicated Samples [skip ci]
sneakzttv Jan 9, 2025
78fdf0e
Sync Dependencies - Auto Commit
rob1997 Jan 9, 2025
ea9b169
Countly warnings (#1268)
sneakzttv Jan 9, 2025
3d6b8af
Sync Dependencies - Auto Commit
sneakzttv Jan 9, 2025
a8f5f6b
Nikola/reown update (#1270)
kantagara Jan 16, 2025
e0592a1
Sync Dependencies - Auto Commit
kantagara Jan 16, 2025
ef4065a
AppKit is now part of the core solution (#1259)
kantagara Jan 16, 2025
5c907e4
Sync Dependencies - Auto Commit
kantagara Jan 16, 2025
9466b3a
Duplicated Samples [skip ci]
kantagara Jan 16, 2025
47866b5
Exclude Paths - Auto Commit
rob1997 Jan 21, 2025
8255808
Sync to main - Auto Commit
rob1997 Jan 21, 2025
41afe4d
Sync Dependencies - Auto Commit
rob1997 Jan 21, 2025
d6a7e11
Exclude Paths - Auto Commit
rob1997 Jan 21, 2025
619bfce
Sync Dependencies - Auto Commit
rob1997 Jan 21, 2025
79d6556
Exclude Paths - Auto Commit
rob1997 Jan 21, 2025
b1244be
Sync Dependencies - Auto Commit
rob1997 Jan 21, 2025
fc5241b
Exclude Paths - Auto Commit
rob1997 Jan 21, 2025
1e4775a
Sync Dependencies - Auto Commit
rob1997 Jan 21, 2025
bde6d73
Sync Dependencies - Auto Commit
rob1997 Jan 21, 2025
1d4d43c
Exclude Paths - Auto Commit
rob1997 Jan 21, 2025
e2e39b7
Sync to main - Auto Commit
rob1997 Jan 21, 2025
ca4e8f0
Sync Dependencies - Auto Commit
rob1997 Jan 21, 2025
3f824ba
CI Fix on dev (#1277)
rob1997 Jan 22, 2025
3c58f67
Sync Dependencies - Auto Commit
rob1997 Jan 22, 2025
a31904d
Embedded Wallet PR - 1 (#1272)
rob1997 Jan 22, 2025
d95a191
Sync Dependencies - Auto Commit
rob1997 Jan 22, 2025
04ad260
Exclude Paths - Auto Commit
rob1997 Mar 14, 2025
7499072
Sync to main - Auto Commit
rob1997 Mar 14, 2025
7535450
Sync Dependencies - Auto Commit
rob1997 Mar 14, 2025
b454111
Exclude Paths - Auto Commit
rob1997 Mar 16, 2025
ed68dea
Sync to main - Auto Commit
rob1997 Mar 16, 2025
0279720
Sync Dependencies - Auto Commit
rob1997 Mar 16, 2025
587b2bb
Exclude Paths - Auto Commit
rob1997 Mar 20, 2025
18ce2fd
Sync to main - Auto Commit
rob1997 Mar 20, 2025
0c4a36f
Sync Dependencies - Auto Commit
rob1997 Mar 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/unity_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Start Anvil
run: |
anvil --host 0.0.0.0 --fork-url https://rpc.ankr.com/eth_sepolia --mnemonic "test test test test test test test test test test test junk" &
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ${{ matrix.projectPath }}/Library
key: Library-${{ matrix.projectPath }}
Expand Down
10 changes: 9 additions & 1 deletion ChainSafe.Gaming.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChainSafe.Gaming.Unity.ThirdParty", "src\ChainSafe.Gaming.Unity.ThirdParty\ChainSafe.Gaming.Unity.ThirdParty.csproj", "{9EC71CB4-9401-4E02-AC63-FC13B3D1AA53}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChainSafe.Gaming.WalletConnect", "src\ChainSafe.Gaming.WalletConnect\ChainSafe.Gaming.WalletConnect.csproj", "{99E7A645-CAC5-441B-848D-1253405D6400}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChainSafe.Gaming.Reown", "src\ChainSafe.Gaming.Reown\ChainSafe.Gaming.Reown.csproj", "{99E7A645-CAC5-441B-848D-1253405D6400}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChainSafe.Gaming.InProcessSigner", "src\ChainSafe.Gaming.InProcessSigner\ChainSafe.Gaming.InProcessSigner.csproj", "{3C01FD36-4D44-4886-A971-4786D99CBFCC}"
EndProject
Expand All @@ -47,6 +47,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChainSafe.Gaming.Unity.Ethe
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChainSafe.Gaming.Mud", "src\ChainSafe.Gaming.Mud\ChainSafe.Gaming.Mud.csproj", "{084E4FCB-9376-4B29-AA8C-6871E13906E6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChainSafe.Gaming.EmbeddedWallet", "src\ChainSafe.Gaming.EmbeddedWallet\ChainSafe.Gaming.EmbeddedWallet.csproj", "{CFFFCC7F-946E-4371-A235-18250B6A5E09}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -161,6 +163,12 @@ Global
{084E4FCB-9376-4B29-AA8C-6871E13906E6}.Release|Any CPU.Build.0 = Release|Any CPU
{084E4FCB-9376-4B29-AA8C-6871E13906E6}.Test|Any CPU.ActiveCfg = Debug|Any CPU
{084E4FCB-9376-4B29-AA8C-6871E13906E6}.Test|Any CPU.Build.0 = Debug|Any CPU
{CFFFCC7F-946E-4371-A235-18250B6A5E09}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CFFFCC7F-946E-4371-A235-18250B6A5E09}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CFFFCC7F-946E-4371-A235-18250B6A5E09}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CFFFCC7F-946E-4371-A235-18250B6A5E09}.Release|Any CPU.Build.0 = Release|Any CPU
{CFFFCC7F-946E-4371-A235-18250B6A5E09}.Test|Any CPU.ActiveCfg = Debug|Any CPU
{CFFFCC7F-946E-4371-A235-18250B6A5E09}.Test|Any CPU.Build.0 = Debug|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
3 changes: 2 additions & 1 deletion ChainSafe.Gaming.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=Nethereum/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Offchain/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Offchain/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Reown/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
2 changes: 2 additions & 0 deletions Packages/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,13 @@ crashlytics-build.properties
# Ignore the build artifacts from our libraries
/io.chainsafe.web3-unity/Runtime/Libraries/*.dll
/io.chainsafe.web3-unity/Runtime/Libraries/*.dll.meta

/io.chainsafe.web3-unity/Runtime/Libraries/*.pdb
/io.chainsafe.web3-unity/Runtime/Libraries/*.pdb.meta

/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/*.dll
/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/*.dll.meta

/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/*.pdb
/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/*.pdb.meta

Expand Down
Binary file not shown.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ namespace ChainSafe.Gaming.HyperPlay
[CreateAssetMenu(menuName = "ChainSafe/Connection Provider/HyperPlay", fileName = nameof(HyperPlayConnectionProvider))]
public class HyperPlayConnectionProvider : ConnectionProvider, IHyperPlayConfig
{
[field: SerializeField, DefaultAssetValue("Packages/io.chainsafe.web3-unity.hyperplay/Runtime/Sprites/HyperPlay.png")]
public override Sprite ButtonIcon { get; protected set; }

[field: SerializeField] public override string ButtonText { get; protected set; } = "HyperPlay";

public string SignMessageRpcMethodName => "personal_sign";

public string SignTypedMessageRpcMethodName => "eth_signTypedData_v3";

[field: SerializeField, DefaultAssetValue("Packages/io.chainsafe.web3-unity.hyperplay/Runtime/Prefabs/HyperPlayRow.prefab")]
public override Button ConnectButtonRow { get; protected set; }

bool IHyperPlayConfig.RememberSession => RememberSession;

public override bool IsAvailable => Application.isEditor || !Application.isMobilePlatform;
Expand All @@ -36,7 +38,7 @@ public override Task Initialize(bool rememberSession)
return Task.CompletedTask;
}
#endif

protected override void ConfigureServices(IWeb3ServiceCollection services)
{
#if UNITY_WEBGL && !UNITY_EDITOR
Expand All @@ -54,7 +56,7 @@ public override async Task<bool> SavedSessionAvailable()
var data = new HyperPlayData();

await data.LoadOneTime();

_storedSessionAvailable = data.RememberSession;

return _storedSessionAvailable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using ChainSafe.Gaming.LocalStorage;
using ChainSafe.Gaming.Unity.EthereumWindow;
using ChainSafe.Gaming.Web3;
using ChainSafe.Gaming.Web3.Core.Operations;
using ChainSafe.Gaming.Web3.Environment;
using UnityEngine;
using Object = UnityEngine.Object;
Expand Down Expand Up @@ -31,7 +32,8 @@ public class HyperPlayWebGLProvider : HyperPlayProvider
/// <param name="environment">Injected <see cref="Web3Environment"/>.</param>
/// <param name="chainConfig">ChainConfig to fetch chain data.</param>
/// <param name="chainRegistryProvider">Injected <see cref="ChainRegistryProvider"/>.</param>
public HyperPlayWebGLProvider(IHyperPlayConfig config, IHyperPlayData data, ILocalStorage localStorage, Web3Environment environment, IChainConfig chainConfig, ChainRegistryProvider chainRegistryProvider) : base(config, data, localStorage, environment, chainConfig)
/// <param name="tracker">Injected <see cref="IOperationTracker"/>.</param>
public HyperPlayWebGLProvider(IHyperPlayConfig config, IHyperPlayData data, ILocalStorage localStorage, Web3Environment environment, IChainConfig chainConfig, ChainRegistryProvider chainRegistryProvider, IOperationTracker tracker) : base(config, data, localStorage, environment, chainConfig, tracker)
{
_config = config;
_data = data;
Expand Down
12 changes: 12 additions & 0 deletions Packages/io.chainsafe.web3-unity.loader/Editor.meta

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,117 @@
using UnityEditor;
using UnityEngine;
using System.IO;
using System.Linq;
using System.Text;
using Newtonsoft.Json.Linq;

[InitializeOnLoad]
public static class ScopedRegistryAndDependencyInstaller
{
private static readonly string RegistryName = "package.openupm.com";
private static readonly string RegistryUrl = "https://package.openupm.com";
private static readonly string[] RequiredScopes =
{
"com.reown",
"com.nethereum.unity"
};

// The Git dependency to add
private const string ChainsafeDependencyKey = "io.chainsafe.web3-unity";
private const string ChainsafeLoaderDependencyKey = "io.chainsafe.web3-unity.loader";
private const string ChainsafeDependencyUrl = "https://github.com/ChainSafe/web3.unity.git?path=/Packages/io.chainsafe.web3-unity#nikola/appkit-implementation-1210";
private const string DependenciesKey = "Dependencies Installed";
static ScopedRegistryAndDependencyInstaller()
{
// Check if we've already installed the registry and dependencies
if (PlayerPrefs.GetInt(DependenciesKey, 0) == 1)
return;

InstallDependencies();
}

[MenuItem("Edit/Install dependencies")]
public static void InstallDependencies()
{

try
{
// Set EditorPref so we don't run again if we run into an error.
PlayerPrefs.SetInt(DependenciesKey, 1);
string manifestPath = Path.Combine(Application.dataPath, "../Packages/manifest.json");
string manifestJson = File.ReadAllText(manifestPath, Encoding.UTF8);
JObject manifest = JObject.Parse(manifestJson);

// Ensure scopedRegistries node exists
if (manifest["scopedRegistries"] == null)
{
manifest["scopedRegistries"] = new JArray();
}

var scopedRegistries = (JArray)manifest["scopedRegistries"];

// Find if our registry already exists
var existingRegistry = scopedRegistries
.OfType<JObject>()
.FirstOrDefault(r =>
r["name"] != null &&
r["name"].Value<string>().Equals(RegistryName, System.StringComparison.OrdinalIgnoreCase));

if (existingRegistry == null)
{
// Create a new registry entry
existingRegistry = new JObject
{
["name"] = RegistryName,
["url"] = RegistryUrl,
["scopes"] = new JArray(RequiredScopes)
};
scopedRegistries.Add(existingRegistry);
}
else
{
// Registry exists, ensure scopes are present
JArray scopesArray = (JArray)existingRegistry["scopes"];
var currentScopes = scopesArray.Select(s => s.Value<string>()).ToList();

foreach (var scope in RequiredScopes)
{
if (!currentScopes.Contains(scope))
{
scopesArray.Add(scope);
}
}
}

// Add the Chainsafe Git dependency
if (manifest["dependencies"] == null)
{
manifest["dependencies"] = new JObject();
}

JObject dependencies = (JObject)manifest["dependencies"];

// If not present or differs, add/update it
if (dependencies[ChainsafeDependencyKey] == null || dependencies[ChainsafeDependencyKey].Value<string>() != ChainsafeDependencyUrl)
{
dependencies[ChainsafeDependencyKey] = ChainsafeDependencyUrl;
}

dependencies.Remove(ChainsafeLoaderDependencyKey);

// Write changes back
File.WriteAllText(manifestPath, manifest.ToString(), Encoding.UTF8);


// Refresh to ensure Unity sees the new dependencies
AssetDatabase.Refresh();
// Clear the key because maybe some other project you get will have the same name so since all the things inside of the editor
// have been installed, you can be safely removed.
PlayerPrefs.DeleteKey(DependenciesKey);
}
catch (System.Exception ex)
{
Debug.LogError($"Failed to install scoped registries or Chainsafe dependency: {ex.Message}\n{ex.StackTrace}");
}
}
}

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,16 @@
{
"name": "io.chainsafe.web3-unity.loader.editor",
"rootNamespace": "",
"references": [],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

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

Loading