这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@robGG1997
Copy link
Contributor

@robGG1997 robGG1997 commented Dec 4, 2023

closes #517

Note : this only works on WebGL build (not in editor)
Before Building to WebGL

  • To run add SampleLogin - MetaMask scene to build settings at index of 0 and SampleMain at index 1

  • Reimport WebGL templates

OR

Once Build has finished go into the build directory and edit the index.htm file to include this line right here

  • Now Build And Run to WebGL or just Build then you can then run the WebGL build from CMD using "C:/Program Files/Unity/Hub/Editor/2021.3.22f1/Editor/Data/MonoBleedingEdge/bin/mono.exe" "C:/Program Files/Unity/Hub/Editor/2021.3.22f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/SimpleWebServer.exe" "[Build Directory]" 60606 - DO make sure that paths are correct and replace [Build Directory] with your own build directory

Now open http://localhost:60606/ on your browser (preferably chromium based like chrome/brave)

Once this PR is approved and ready to merge I'll add the new dependency DLLs to be copied in publish dependencies CI so they can be automatically generated.

@robGG1997 robGG1997 added the ready-to-merge Ready to Merge PR - this'll trigger required checks label Dec 11, 2023
@robGG1997 robGG1997 force-pushed the rob/meta-mask-integration-517 branch from 5a3ab85 to 35498eb Compare December 11, 2023 11:57
@robGG1997 robGG1997 added ready-to-merge Ready to Merge PR - this'll trigger required checks and removed ready-to-merge Ready to Merge PR - this'll trigger required checks labels Dec 11, 2023
@sneakzttv
Copy link
Contributor

checking again with new changes, one moment.

@sneakzttv
Copy link
Contributor

Good to go!

image
image

@robGG1997 robGG1997 added ready-to-merge Ready to Merge PR - this'll trigger required checks and removed ready-to-merge Ready to Merge PR - this'll trigger required checks labels Dec 11, 2023
@robGG1997 robGG1997 added ready-to-merge Ready to Merge PR - this'll trigger required checks and removed ready-to-merge Ready to Merge PR - this'll trigger required checks labels Dec 11, 2023
@robGG1997 robGG1997 merged commit 0ba21e6 into main Dec 11, 2023
@robGG1997 robGG1997 deleted the rob/meta-mask-integration-517 branch December 11, 2023 14:15
robGG1997 added a commit that referenced this pull request Dec 11, 2023
* Revert "automated duplicating imported samples modifications (#595)"

This reverts commit a555894.

* added WebGL threading patcher from - https://github.com/VolodymyrBS/WebGLThreadingPatcher.git

* working demo and build

* Revert "working demo and build"

This reverts commit 06cb9d9.

* first MetaMask iteration

* Auto-duplicate Packages Samples

* added new custom dlls for Neth.MetaMask

* typo and compile error fixes

* Published Solution Dependencies to Package Libraries as DLLs

* sign message and sign typed data implemented and working, send transaction implemented not fully working

* fixed send Transaction issue

* simultaneous requests supported and fixed send transaction issue

* refactor and documentation

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

* set exception if connection fails

* added required line in index.html in WebGL template

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* libc Dll not found exception fixed

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* made requested changes

* Published Solution Dependencies to Package Libraries as DLLs

* more requested changes

* merged wallet connect extension methods

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* removed redundant/empty implementations of IlifeCycleParticipant

* added import statement

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

* added platform dependent compilation to avoid build errors

* limited metamask libs to WebGL so it can build to other platforms

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* revert from merge

* Published Solution Dependencies to Package Libraries as DLLs

---------

Co-authored-by: robGG1997 <robGG1997@users.noreply.github.com>
rob1997 pushed a commit that referenced this pull request Jan 16, 2025
* Revert "automated duplicating imported samples modifications (#595)"

This reverts commit a555894.

* added WebGL threading patcher from - https://github.com/VolodymyrBS/WebGLThreadingPatcher.git

* working demo and build

* Revert "working demo and build"

This reverts commit 06cb9d9.

* first MetaMask iteration

* Auto-duplicate Packages Samples

* added new custom dlls for Neth.MetaMask

* typo and compile error fixes

* Published Solution Dependencies to Package Libraries as DLLs

* sign message and sign typed data implemented and working, send transaction implemented not fully working

* fixed send Transaction issue

* simultaneous requests supported and fixed send transaction issue

* refactor and documentation

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

* set exception if connection fails

* added required line in index.html in WebGL template

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* made requested changes

* Published Solution Dependencies to Package Libraries as DLLs

* more requested changes

* merged wallet connect extension methods

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* removed redundant/empty implementations of IlifeCycleParticipant

* added import statement

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

* added platform dependent compilation to avoid build errors

* limited metamask libs to WebGL so it can build to other platforms

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

---------

Co-authored-by: robGG1997 <robGG1997@users.noreply.github.com>
rob1997 pushed a commit that referenced this pull request Jan 16, 2025
* Revert "automated duplicating imported samples modifications (#595)"

This reverts commit a555894.

* added WebGL threading patcher from - https://github.com/VolodymyrBS/WebGLThreadingPatcher.git

* working demo and build

* Revert "working demo and build"

This reverts commit 06cb9d9.

* first MetaMask iteration

* Auto-duplicate Packages Samples

* added new custom dlls for Neth.MetaMask

* typo and compile error fixes

* Published Solution Dependencies to Package Libraries as DLLs

* sign message and sign typed data implemented and working, send transaction implemented not fully working

* fixed send Transaction issue

* simultaneous requests supported and fixed send transaction issue

* refactor and documentation

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

* set exception if connection fails

* added required line in index.html in WebGL template

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* libc Dll not found exception fixed

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* made requested changes

* Published Solution Dependencies to Package Libraries as DLLs

* more requested changes

* merged wallet connect extension methods

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* removed redundant/empty implementations of IlifeCycleParticipant

* added import statement

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

* added platform dependent compilation to avoid build errors

* limited metamask libs to WebGL so it can build to other platforms

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* revert from merge

* Published Solution Dependencies to Package Libraries as DLLs

---------

Co-authored-by: robGG1997 <robGG1997@users.noreply.github.com>
sergeypanin1994 pushed a commit to sergeypanin1994/web3.unity that referenced this pull request Mar 16, 2025
* Revert "automated duplicating imported samples modifications (ChainSafe#595)"

This reverts commit a555894.

* added WebGL threading patcher from - https://github.com/VolodymyrBS/WebGLThreadingPatcher.git

* working demo and build

* Revert "working demo and build"

This reverts commit 06cb9d9.

* first MetaMask iteration

* Auto-duplicate Packages Samples

* added new custom dlls for Neth.MetaMask

* typo and compile error fixes

* Published Solution Dependencies to Package Libraries as DLLs

* sign message and sign typed data implemented and working, send transaction implemented not fully working

* fixed send Transaction issue

* simultaneous requests supported and fixed send transaction issue

* refactor and documentation

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

* set exception if connection fails

* added required line in index.html in WebGL template

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* made requested changes

* Published Solution Dependencies to Package Libraries as DLLs

* more requested changes

* merged wallet connect extension methods

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* removed redundant/empty implementations of IlifeCycleParticipant

* added import statement

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

* added platform dependent compilation to avoid build errors

* limited metamask libs to WebGL so it can build to other platforms

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

---------

Co-authored-by: robGG1997 <robGG1997@users.noreply.github.com>
sergeypanin1994 pushed a commit to sergeypanin1994/web3.unity that referenced this pull request Mar 16, 2025
* Revert "automated duplicating imported samples modifications (ChainSafe#595)"

This reverts commit a555894.

* added WebGL threading patcher from - https://github.com/VolodymyrBS/WebGLThreadingPatcher.git

* working demo and build

* Revert "working demo and build"

This reverts commit 06cb9d9.

* first MetaMask iteration

* Auto-duplicate Packages Samples

* added new custom dlls for Neth.MetaMask

* typo and compile error fixes

* Published Solution Dependencies to Package Libraries as DLLs

* sign message and sign typed data implemented and working, send transaction implemented not fully working

* fixed send Transaction issue

* simultaneous requests supported and fixed send transaction issue

* refactor and documentation

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

* set exception if connection fails

* added required line in index.html in WebGL template

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* libc Dll not found exception fixed

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* made requested changes

* Published Solution Dependencies to Package Libraries as DLLs

* more requested changes

* merged wallet connect extension methods

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* removed redundant/empty implementations of IlifeCycleParticipant

* added import statement

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

* added platform dependent compilation to avoid build errors

* limited metamask libs to WebGL so it can build to other platforms

* Auto-duplicate Packages Samples

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* Published Solution Dependencies to Package Libraries as DLLs

* revert from merge

* Published Solution Dependencies to Package Libraries as DLLs

---------

Co-authored-by: robGG1997 <robGG1997@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Ready to Merge PR - this'll trigger required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop WebGl template and interact with browser wallets directly

6 participants