Skip to content

Commit f709fba

Browse files
authored
Update README.md
Signed-off-by: Firekeeper <[email protected]>
1 parent 0b3f1b9 commit f709fba

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

105105
Important: 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

109109
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`.
110110

111111
Here's a simple way to do so, assuming you are in your WebGL build output folder:
112112

113-
```csharp
113+
```js
114+
// server.js
114115
const express = require('express');
115116
const app = express();
116117
const port = 8000;
@@ -122,6 +123,8 @@ app.use(function(req, res, next) {
122123

123124
app.use(express.static('.'));
124125
app.listen(port, () => console.log(`Server running on http://localhost:${port}`));
126+
127+
// run it with `node server.js`
125128
```
126129

127130
Once again, please note that no action is needed for hosted builds.

0 commit comments

Comments
 (0)