File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ modules.select.defaults({
203
203
``` javascript
204
204
portis ({
205
205
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
207
207
})
208
208
```
209
209
@@ -212,14 +212,14 @@ portis({
212
212
``` javascript
213
213
fortmatic ({
214
214
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
216
216
})
217
217
```
218
218
219
219
` walletConnect ` Initialization:
220
220
221
221
``` javascript
222
- fortmatic ({
222
+ walletConnect ({
223
223
infuraKey: String
224
224
})
225
225
```
@@ -242,11 +242,11 @@ const onboard = Onboard.init({
242
242
" Please select the wallet that you would like to use with this Dapp" ,
243
243
wallets: {
244
244
desktop: [
245
- portis ({ apiKey: ' sdda-w2-ds3' , network : ' main ' })
245
+ portis ({ apiKey: ' sdda-w2-ds3' , networkId : 1 })
246
246
dapper (),
247
247
metmask (),
248
248
],
249
- mobile: [fortmatic ({apiKey: ' sd-3d3-d' , network : ' main ' })]
249
+ mobile: [fortmatic ({apiKey: ' sd-3d3-d' , networkId : 1 })]
250
250
}
251
251
}
252
252
// ....
You can’t perform that action at this time.
0 commit comments