Skip to content

Commit 0d693cd

Browse files
committed
Update docs
1 parent ac9d705 commit 0d693cd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ modules.select.defaults({
203203
```javascript
204204
portis({
205205
apiKey: String, // your Portis api key
206-
network: String // the name of network you want to connect to
206+
networkId: Number // the networkId of network you want to connect to
207207
})
208208
```
209209

@@ -212,14 +212,14 @@ portis({
212212
```javascript
213213
fortmatic({
214214
apiKey: String, // your Portis api key
215-
network: String // the name of the network you want to connect to
215+
networkId: Number // the networkId of the network you want to connect to
216216
})
217217
```
218218

219219
`walletConnect` Initialization:
220220

221221
```javascript
222-
fortmatic({
222+
walletConnect({
223223
infuraKey: String
224224
})
225225
```
@@ -242,11 +242,11 @@ const onboard = Onboard.init({
242242
"Please select the wallet that you would like to use with this Dapp",
243243
wallets: {
244244
desktop: [
245-
portis({ apiKey: 'sdda-w2-ds3', network: 'main' })
245+
portis({ apiKey: 'sdda-w2-ds3', networkId: 1 })
246246
dapper(),
247247
metmask(),
248248
],
249-
mobile: [fortmatic({apiKey: 'sd-3d3-d', network: 'main'})]
249+
mobile: [fortmatic({apiKey: 'sd-3d3-d', networkId: 1})]
250250
}
251251
}
252252
//....

0 commit comments

Comments
 (0)