@@ -21,7 +21,7 @@ Try out our multichain game that leverages In-App and Smart Wallets to create se
2121| ** Wallet Connect** | ✔️ | ✔️ | ✔️ |
2222| ** MetaMask** | ✔️ | ✔️ | ✔️ |
2323| ** Rabby** | ✔️ | — | — |
24- | ** Coinbase** | ✔️ | ❌ | ❌ |
24+ | ** Coinbase (Including Smart Wallet) ** | ✔️ | ❌ | ❌ |
2525| ** Smart Wallet** (ERC4337) | ✔️ | ✔️ | ✔️ |
2626| ** Injected** | ✔️ | — | — |
2727| ** HyperPlay** | — | ✔️ | — |
@@ -104,13 +104,14 @@ var txRes = await contract.Write("myWriteFunction", arg1, arg2, ...);
104104
105105Important: If you're uploading your build, set ` Compression Format ` to ` Disabled ` in ` Player Settings ` > ` Publishing Settings ` .
106106
107- Please note that Embedded Wallets (OAuth version) may not work when testing locally using Unity's default Build and Run feature for WebGL .
107+ Please note that In-App Wallets (OAuth) and Coinbase (Smart Wallet) will not work with default ` Build and Run ` when testing ** locally ** .
108108
109109You must host the build or run it locally yourself after adding the ` Cross-Origin-Opener-Policy ` header and setting it to ` same-origin-allow-popups ` .
110110
111111Here's a simple way to do so, assuming you are in your WebGL build output folder:
112112
113- ``` csharp
113+ ``` js
114+ // server.js
114115const express = require (' express' );
115116const app = express ();
116117const port = 8000 ;
@@ -122,6 +123,8 @@ app.use(function(req, res, next) {
122123
123124app .use (express .static (' .' ));
124125app .listen (port, () => console .log (` Server running on http://localhost:${ port} ` ));
126+
127+ // run it with `node server.js`
125128```
126129
127130Once again, please note that no action is needed for hosted builds.
0 commit comments