File tree Expand file tree Collapse file tree 6 files changed +15
-14
lines changed
src/pages/quick-start/builder/web Expand file tree Collapse file tree 6 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ blockchain calls. We have demonstrated some commonly used hooks like `useBalance
88
99:::info
1010
11- You can refer to the [ ** wagmi docs** ] ( https://wagmi.sh/react/hooks ) for more information on the
11+ You can refer to the [ ** wagmi docs** ] ( https://wagmi.sh/react/api/ hooks ) for more information on the
1212hooks.
1313
1414:::
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Dashboard Project Settings.
88:::info
99
1010This is where you can also configure any major settings of your integration as well. Visit our
11- [ ** configuration section** ] ( /sdk/web/react /config ) of the sdk reference to learn more about the
11+ [ ** configuration section** ] ( /sdk/web/vue /config ) of the sdk reference to learn more about the
1212different options available.
1313
1414:::
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ session information from the local storage of the browser.
77
88:::info
99
10- There are multiple other hooks available in the Web3Auth React SDK. Visit our
11- [ ** hooks section** ] ( /sdk/web/react/hooks ) of the sdk reference to learn more about the different
12- hooks available.
10+ There are multiple other composables available in the Web3Auth Vue SDK. Visit our
11+ [ ** composables section** ] ( /sdk/web/vue/composables ) of the sdk reference to learn more about the
12+ different composables available.
1313
1414:::
Original file line number Diff line number Diff line change 22title : Setup Wagmi Provider
33---
44
5- Since we're using ` wagmi ` for this example, we need to setup the ` WagmiProvider ` component. Please
6- use the ` WagmiProvider ` component from ` @web3auth/modal/react/wagmi ` to wrap your application.
5+ Since we're using ` @wagmi/vue ` for this example, we need to setup the ` WagmiProvider ` component.
6+ Please use the ` WagmiProvider ` component from ` @web3auth/modal/react/wagmi ` to wrap your
7+ application.
78
89``` tsx
910import { WagmiProvider } from " @web3auth/modal/react/wagmi" ;
1011```
1112
1213> Apart from that, the standard wagmi setup is being used. You do not need to create any wagmi
1314> config, since the Web3Auth config is being used directly. Refer to the
14- > [ wagmi docs] ( https://wagmi.sh/react /getting-started ) for more information.
15+ > [ wagmi docs] ( https://wagmi.sh/vue /getting-started ) for more information.
Original file line number Diff line number Diff line change 22title : Setup Web3Auth Provider
33---
44
5- To enable the hooks across your application, you need to wrap your application with the
5+ To enable the composables across your application, you need to wrap your application with the
66` Web3AuthProvider ` component. This involves using the configuration created in the previous step.
Original file line number Diff line number Diff line change 22title : Making Blockchain Calls
33---
44
5- Since Wagmi is configured in this application, you can directly use the wagmi hooks to make
6- blockchain calls. We have demonstrated some commonly used hooks like ` useBalance ` , ` useAccount ` ,
7- ` useSignMessage ` , ` useSendTransaction ` and ` useSwitchChain ` .
5+ Since Wagmi is configured in this application, you can directly use the wagmi composables to make
6+ blockchain calls. We have demonstrated some commonly used composables like ` useBalance ` ,
7+ ` useAccount ` , ` useSignMessage ` , ` useSendTransaction ` and ` useSwitchChain ` .
88
99:::info
1010
11- You can refer to the [ ** wagmi docs** ] ( https://wagmi.sh/react/hooks ) for more information on the
12- hooks .
11+ You can refer to the [ ** wagmi docs** ] ( https://wagmi.sh/vue/api/composables ) for more information on
12+ the composables .
1313
1414:::
You can’t perform that action at this time.
0 commit comments