File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 72
72
})
73
73
74
74
const web3auth = web3authModule ({
75
- clientId: ' BJuUOKvmNnlzy6ruVgeWYWIMKLRyYtjYa9Y10VCeJzWZcygDlrYLyXsBQjpJ2hxlBO9dnl8t9GmAC2rOP5vnIGo '
75
+ clientId: ' DJuUOKvmNnlzy6ruVgeWYWIMKLRyYtjYa9Y10VCeJzWZcygDlrYLyXsBQjpJ2hxlBO9dnl8t9GmAC2qOP5vnIGo '
76
76
})
77
77
78
78
const torus = torusModule ()
Original file line number Diff line number Diff line change
1
+ # @web3-onboard/web3auth
2
+
3
+ ## Wallet module for connecting Web3auth to web3-onboard
4
+
5
+ ### Install
6
+
7
+ ` npm i @web3-onboard/web3auth `
8
+
9
+ ## Options
10
+
11
+ See the [ Web3auth Docs] ( https://docs.web3auth.io/api-reference/web/plugnplay ) for the extensive list of options.
12
+
13
+ ## Usage
14
+
15
+ ``` typescript
16
+ import Onboard from ' @web3-onboard/core'
17
+ import web3authModule from ' @web3-onboard/web3auth'
18
+
19
+ const web3auth = web3authModule ({
20
+ clientId:
21
+ ' DJuUOKvmNnlzy6ruVgeWYWIMKLRyYtjYa9Y10VCeJzWZcygDlrYLyXsBQjpJ2hxlBO9dnl8t9GmAC2qOP5vnIGo'
22
+ })
23
+
24
+ const onboard = Onboard ({
25
+ // ... other Onboard options
26
+ wallets: [
27
+ web3auth
28
+ // ... other wallets
29
+ ]
30
+ })
31
+
32
+ const connectedWallets = await onboard .connectWallet ()
33
+ console .log (connectedWallets )
34
+ ```
You can’t perform that action at this time.
0 commit comments