@@ -21,7 +21,7 @@ Try out our multichain game that leverages In-App and Smart Wallets to create se
21
21
| ** Wallet Connect** | ✔️ | ✔️ | ✔️ |
22
22
| ** MetaMask** | ✔️ | ✔️ | ✔️ |
23
23
| ** Rabby** | ✔️ | — | — |
24
- | ** Coinbase** | ✔️ | ❌ | ❌ |
24
+ | ** Coinbase (Including Smart Wallet) ** | ✔️ | ❌ | ❌ |
25
25
| ** Smart Wallet** (ERC4337) | ✔️ | ✔️ | ✔️ |
26
26
| ** Injected** | ✔️ | — | — |
27
27
| ** HyperPlay** | — | ✔️ | — |
@@ -104,13 +104,14 @@ var txRes = await contract.Write("myWriteFunction", arg1, arg2, ...);
104
104
105
105
Important: If you're uploading your build, set ` Compression Format ` to ` Disabled ` in ` Player Settings ` > ` Publishing Settings ` .
106
106
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 ** .
108
108
109
109
You 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 ` .
110
110
111
111
Here's a simple way to do so, assuming you are in your WebGL build output folder:
112
112
113
- ``` csharp
113
+ ``` js
114
+ // server.js
114
115
const express = require (' express' );
115
116
const app = express ();
116
117
const port = 8000 ;
@@ -122,6 +123,8 @@ app.use(function(req, res, next) {
122
123
123
124
app .use (express .static (' .' ));
124
125
app .listen (port, () => console .log (` Server running on http://localhost:${ port} ` ));
126
+
127
+ // run it with `node server.js`
125
128
```
126
129
127
130
Once again, please note that no action is needed for hosted builds.
0 commit comments