@reown/appkit-react-native 0.0.0-feat-multichain-20250731180941 → 0.0.0-feat-multichain-20250804182547

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/lib/commonjs/AppKit.js +46 -64
  2. package/lib/commonjs/AppKit.js.map +1 -1
  3. package/lib/commonjs/AppKitContext.js +3 -5
  4. package/lib/commonjs/AppKitContext.js.map +1 -1
  5. package/lib/commonjs/connectors/WalletConnectConnector.js +14 -2
  6. package/lib/commonjs/connectors/WalletConnectConnector.js.map +1 -1
  7. package/lib/commonjs/hooks/useProvider.js +29 -10
  8. package/lib/commonjs/hooks/useProvider.js.map +1 -1
  9. package/lib/commonjs/index.js.map +1 -1
  10. package/lib/commonjs/modal/w3m-account-button/index.js +1 -1
  11. package/lib/commonjs/modal/w3m-account-button/index.js.map +1 -1
  12. package/lib/commonjs/modal/w3m-modal/index.js +1 -1
  13. package/lib/commonjs/modal/w3m-modal/index.js.map +1 -1
  14. package/lib/commonjs/modal/w3m-network-button/index.js +1 -1
  15. package/lib/commonjs/modal/w3m-network-button/index.js.map +1 -1
  16. package/lib/commonjs/partials/w3m-account-activity/index.js +1 -1
  17. package/lib/commonjs/partials/w3m-account-activity/index.js.map +1 -1
  18. package/lib/commonjs/partials/w3m-account-tokens/index.js +1 -1
  19. package/lib/commonjs/partials/w3m-account-tokens/index.js.map +1 -1
  20. package/lib/commonjs/partials/w3m-connecting-mobile/index.js +6 -7
  21. package/lib/commonjs/partials/w3m-connecting-mobile/index.js.map +1 -1
  22. package/lib/commonjs/partials/w3m-connecting-qrcode/index.js +25 -10
  23. package/lib/commonjs/partials/w3m-connecting-qrcode/index.js.map +1 -1
  24. package/lib/commonjs/partials/w3m-connecting-web/index.js +6 -7
  25. package/lib/commonjs/partials/w3m-connecting-web/index.js.map +1 -1
  26. package/lib/commonjs/partials/w3m-header/index.js +1 -1
  27. package/lib/commonjs/partials/w3m-header/index.js.map +1 -1
  28. package/lib/commonjs/partials/w3m-selector-modal/index.js +1 -1
  29. package/lib/commonjs/partials/w3m-selector-modal/index.js.map +1 -1
  30. package/lib/commonjs/types.js +6 -0
  31. package/lib/commonjs/types.js.map +1 -0
  32. package/lib/commonjs/utils/HelpersUtil.js.map +1 -1
  33. package/lib/commonjs/utils/UiUtil.js +0 -14
  34. package/lib/commonjs/utils/UiUtil.js.map +1 -1
  35. package/lib/commonjs/views/w3m-account-default-view/index.js +2 -2
  36. package/lib/commonjs/views/w3m-account-default-view/index.js.map +1 -1
  37. package/lib/commonjs/views/w3m-account-view/index.js +1 -1
  38. package/lib/commonjs/views/w3m-account-view/index.js.map +1 -1
  39. package/lib/commonjs/views/w3m-all-wallets-view/index.js +3 -3
  40. package/lib/commonjs/views/w3m-all-wallets-view/index.js.map +1 -1
  41. package/lib/commonjs/views/w3m-connect-view/components/all-wallet-list.js +1 -1
  42. package/lib/commonjs/views/w3m-connect-view/components/all-wallet-list.js.map +1 -1
  43. package/lib/commonjs/views/w3m-connect-view/components/custom-wallet-list.js +1 -1
  44. package/lib/commonjs/views/w3m-connect-view/components/custom-wallet-list.js.map +1 -1
  45. package/lib/commonjs/views/w3m-connect-view/components/recent-wallet-list.js +1 -1
  46. package/lib/commonjs/views/w3m-connect-view/components/recent-wallet-list.js.map +1 -1
  47. package/lib/commonjs/views/w3m-connect-view/index.js +1 -1
  48. package/lib/commonjs/views/w3m-connect-view/index.js.map +1 -1
  49. package/lib/commonjs/views/w3m-connecting-external-view/index.js +5 -6
  50. package/lib/commonjs/views/w3m-connecting-external-view/index.js.map +1 -1
  51. package/lib/commonjs/views/w3m-connecting-siwe-view/index.js +6 -10
  52. package/lib/commonjs/views/w3m-connecting-siwe-view/index.js.map +1 -1
  53. package/lib/commonjs/views/w3m-connecting-social-view/index.js +6 -8
  54. package/lib/commonjs/views/w3m-connecting-social-view/index.js.map +1 -1
  55. package/lib/commonjs/views/w3m-connecting-view/index.js +7 -7
  56. package/lib/commonjs/views/w3m-connecting-view/index.js.map +1 -1
  57. package/lib/commonjs/views/w3m-network-switch-view/index.js +4 -3
  58. package/lib/commonjs/views/w3m-network-switch-view/index.js.map +1 -1
  59. package/lib/commonjs/views/w3m-networks-view/index.js +2 -2
  60. package/lib/commonjs/views/w3m-networks-view/index.js.map +1 -1
  61. package/lib/commonjs/views/w3m-onramp-checkout-view/index.js +1 -1
  62. package/lib/commonjs/views/w3m-onramp-checkout-view/index.js.map +1 -1
  63. package/lib/commonjs/views/w3m-onramp-view/components/Header.js +1 -1
  64. package/lib/commonjs/views/w3m-onramp-view/components/Header.js.map +1 -1
  65. package/lib/commonjs/views/w3m-onramp-view/index.js +1 -1
  66. package/lib/commonjs/views/w3m-onramp-view/index.js.map +1 -1
  67. package/lib/commonjs/views/w3m-swap-view/components/select-token-view/index.js +1 -1
  68. package/lib/commonjs/views/w3m-swap-view/components/select-token-view/index.js.map +1 -1
  69. package/lib/commonjs/views/w3m-unsupported-chain-view/index.js +2 -4
  70. package/lib/commonjs/views/w3m-unsupported-chain-view/index.js.map +1 -1
  71. package/lib/commonjs/views/w3m-wallet-compatible-networks-view/index.js +1 -1
  72. package/lib/commonjs/views/w3m-wallet-compatible-networks-view/index.js.map +1 -1
  73. package/lib/commonjs/views/w3m-wallet-receive-view/index.js +2 -2
  74. package/lib/commonjs/views/w3m-wallet-receive-view/index.js.map +1 -1
  75. package/lib/commonjs/views/w3m-wallet-send-preview-view/components/preview-send-details.js +1 -1
  76. package/lib/commonjs/views/w3m-wallet-send-preview-view/components/preview-send-details.js.map +1 -1
  77. package/lib/commonjs/views/w3m-wallet-send-select-token-view/index.js +1 -1
  78. package/lib/commonjs/views/w3m-wallet-send-select-token-view/index.js.map +1 -1
  79. package/lib/module/AppKit.js +47 -65
  80. package/lib/module/AppKit.js.map +1 -1
  81. package/lib/module/AppKitContext.js +1 -3
  82. package/lib/module/AppKitContext.js.map +1 -1
  83. package/lib/module/connectors/WalletConnectConnector.js +15 -3
  84. package/lib/module/connectors/WalletConnectConnector.js.map +1 -1
  85. package/lib/module/hooks/useProvider.js +30 -10
  86. package/lib/module/hooks/useProvider.js.map +1 -1
  87. package/lib/module/index.js.map +1 -1
  88. package/lib/module/modal/w3m-account-button/index.js +2 -2
  89. package/lib/module/modal/w3m-account-button/index.js.map +1 -1
  90. package/lib/module/modal/w3m-modal/index.js +2 -2
  91. package/lib/module/modal/w3m-modal/index.js.map +1 -1
  92. package/lib/module/modal/w3m-network-button/index.js +2 -2
  93. package/lib/module/modal/w3m-network-button/index.js.map +1 -1
  94. package/lib/module/partials/w3m-account-activity/index.js +2 -2
  95. package/lib/module/partials/w3m-account-activity/index.js.map +1 -1
  96. package/lib/module/partials/w3m-account-tokens/index.js +2 -2
  97. package/lib/module/partials/w3m-account-tokens/index.js.map +1 -1
  98. package/lib/module/partials/w3m-connecting-mobile/index.js +7 -8
  99. package/lib/module/partials/w3m-connecting-mobile/index.js.map +1 -1
  100. package/lib/module/partials/w3m-connecting-qrcode/index.js +26 -11
  101. package/lib/module/partials/w3m-connecting-qrcode/index.js.map +1 -1
  102. package/lib/module/partials/w3m-connecting-web/index.js +7 -8
  103. package/lib/module/partials/w3m-connecting-web/index.js.map +1 -1
  104. package/lib/module/partials/w3m-header/index.js +2 -2
  105. package/lib/module/partials/w3m-header/index.js.map +1 -1
  106. package/lib/module/partials/w3m-selector-modal/index.js +2 -2
  107. package/lib/module/partials/w3m-selector-modal/index.js.map +1 -1
  108. package/lib/module/types.js +4 -0
  109. package/lib/module/types.js.map +1 -0
  110. package/lib/module/utils/HelpersUtil.js.map +1 -1
  111. package/lib/module/utils/UiUtil.js +2 -15
  112. package/lib/module/utils/UiUtil.js.map +1 -1
  113. package/lib/module/views/w3m-account-default-view/index.js +4 -4
  114. package/lib/module/views/w3m-account-default-view/index.js.map +1 -1
  115. package/lib/module/views/w3m-account-view/index.js +2 -2
  116. package/lib/module/views/w3m-account-view/index.js.map +1 -1
  117. package/lib/module/views/w3m-all-wallets-view/index.js +4 -4
  118. package/lib/module/views/w3m-all-wallets-view/index.js.map +1 -1
  119. package/lib/module/views/w3m-connect-view/components/all-wallet-list.js +2 -2
  120. package/lib/module/views/w3m-connect-view/components/all-wallet-list.js.map +1 -1
  121. package/lib/module/views/w3m-connect-view/components/custom-wallet-list.js +2 -2
  122. package/lib/module/views/w3m-connect-view/components/custom-wallet-list.js.map +1 -1
  123. package/lib/module/views/w3m-connect-view/components/recent-wallet-list.js +2 -2
  124. package/lib/module/views/w3m-connect-view/components/recent-wallet-list.js.map +1 -1
  125. package/lib/module/views/w3m-connect-view/index.js +1 -1
  126. package/lib/module/views/w3m-connect-view/index.js.map +1 -1
  127. package/lib/module/views/w3m-connecting-external-view/index.js +7 -8
  128. package/lib/module/views/w3m-connecting-external-view/index.js.map +1 -1
  129. package/lib/module/views/w3m-connecting-siwe-view/index.js +8 -12
  130. package/lib/module/views/w3m-connecting-siwe-view/index.js.map +1 -1
  131. package/lib/module/views/w3m-connecting-social-view/index.js +8 -10
  132. package/lib/module/views/w3m-connecting-social-view/index.js.map +1 -1
  133. package/lib/module/views/w3m-connecting-view/index.js +9 -9
  134. package/lib/module/views/w3m-connecting-view/index.js.map +1 -1
  135. package/lib/module/views/w3m-network-switch-view/index.js +7 -5
  136. package/lib/module/views/w3m-network-switch-view/index.js.map +1 -1
  137. package/lib/module/views/w3m-networks-view/index.js +4 -4
  138. package/lib/module/views/w3m-networks-view/index.js.map +1 -1
  139. package/lib/module/views/w3m-onramp-checkout-view/index.js +2 -2
  140. package/lib/module/views/w3m-onramp-checkout-view/index.js.map +1 -1
  141. package/lib/module/views/w3m-onramp-view/components/Header.js +2 -2
  142. package/lib/module/views/w3m-onramp-view/components/Header.js.map +1 -1
  143. package/lib/module/views/w3m-onramp-view/index.js +2 -2
  144. package/lib/module/views/w3m-onramp-view/index.js.map +1 -1
  145. package/lib/module/views/w3m-swap-view/components/select-token-view/index.js +2 -2
  146. package/lib/module/views/w3m-swap-view/components/select-token-view/index.js.map +1 -1
  147. package/lib/module/views/w3m-unsupported-chain-view/index.js +4 -6
  148. package/lib/module/views/w3m-unsupported-chain-view/index.js.map +1 -1
  149. package/lib/module/views/w3m-wallet-compatible-networks-view/index.js +2 -2
  150. package/lib/module/views/w3m-wallet-compatible-networks-view/index.js.map +1 -1
  151. package/lib/module/views/w3m-wallet-receive-view/index.js +3 -3
  152. package/lib/module/views/w3m-wallet-receive-view/index.js.map +1 -1
  153. package/lib/module/views/w3m-wallet-send-preview-view/components/preview-send-details.js +2 -2
  154. package/lib/module/views/w3m-wallet-send-preview-view/components/preview-send-details.js.map +1 -1
  155. package/lib/module/views/w3m-wallet-send-select-token-view/index.js +2 -2
  156. package/lib/module/views/w3m-wallet-send-select-token-view/index.js.map +1 -1
  157. package/lib/typescript/AppKit.d.ts +4 -24
  158. package/lib/typescript/AppKit.d.ts.map +1 -1
  159. package/lib/typescript/AppKitContext.d.ts +1 -1
  160. package/lib/typescript/AppKitContext.d.ts.map +1 -1
  161. package/lib/typescript/connectors/WalletConnectConnector.d.ts +1 -1
  162. package/lib/typescript/connectors/WalletConnectConnector.d.ts.map +1 -1
  163. package/lib/typescript/hooks/useProvider.d.ts +28 -1
  164. package/lib/typescript/hooks/useProvider.d.ts.map +1 -1
  165. package/lib/typescript/index.d.ts +1 -0
  166. package/lib/typescript/index.d.ts.map +1 -1
  167. package/lib/typescript/modal/w3m-account-button/index.d.ts.map +1 -1
  168. package/lib/typescript/modal/w3m-network-button/index.d.ts.map +1 -1
  169. package/lib/typescript/partials/w3m-account-activity/index.d.ts.map +1 -1
  170. package/lib/typescript/partials/w3m-account-tokens/index.d.ts.map +1 -1
  171. package/lib/typescript/partials/w3m-connecting-mobile/index.d.ts.map +1 -1
  172. package/lib/typescript/partials/w3m-connecting-qrcode/index.d.ts.map +1 -1
  173. package/lib/typescript/partials/w3m-connecting-web/index.d.ts.map +1 -1
  174. package/lib/typescript/types.d.ts +156 -0
  175. package/lib/typescript/types.d.ts.map +1 -0
  176. package/lib/typescript/utils/HelpersUtil.d.ts +3 -2
  177. package/lib/typescript/utils/HelpersUtil.d.ts.map +1 -1
  178. package/lib/typescript/utils/UiUtil.d.ts +0 -4
  179. package/lib/typescript/utils/UiUtil.d.ts.map +1 -1
  180. package/lib/typescript/views/w3m-account-default-view/index.d.ts.map +1 -1
  181. package/lib/typescript/views/w3m-account-view/index.d.ts.map +1 -1
  182. package/lib/typescript/views/w3m-connecting-external-view/index.d.ts.map +1 -1
  183. package/lib/typescript/views/w3m-connecting-siwe-view/index.d.ts.map +1 -1
  184. package/lib/typescript/views/w3m-connecting-social-view/index.d.ts.map +1 -1
  185. package/lib/typescript/views/w3m-network-switch-view/index.d.ts.map +1 -1
  186. package/lib/typescript/views/w3m-networks-view/index.d.ts.map +1 -1
  187. package/lib/typescript/views/w3m-onramp-checkout-view/index.d.ts.map +1 -1
  188. package/lib/typescript/views/w3m-onramp-view/index.d.ts.map +1 -1
  189. package/lib/typescript/views/w3m-swap-view/components/select-token-view/index.d.ts.map +1 -1
  190. package/lib/typescript/views/w3m-unsupported-chain-view/index.d.ts.map +1 -1
  191. package/lib/typescript/views/w3m-wallet-compatible-networks-view/index.d.ts.map +1 -1
  192. package/lib/typescript/views/w3m-wallet-receive-view/index.d.ts.map +1 -1
  193. package/lib/typescript/views/w3m-wallet-send-select-token-view/index.d.ts.map +1 -1
  194. package/package.json +5 -5
  195. package/src/AppKit.ts +59 -108
  196. package/src/AppKitContext.tsx +1 -2
  197. package/src/connectors/WalletConnectConnector.ts +19 -4
  198. package/src/hooks/useProvider.ts +30 -9
  199. package/src/index.ts +1 -0
  200. package/src/modal/w3m-account-button/index.tsx +3 -2
  201. package/src/modal/w3m-modal/index.tsx +2 -2
  202. package/src/modal/w3m-network-button/index.tsx +2 -1
  203. package/src/partials/w3m-account-activity/index.tsx +2 -1
  204. package/src/partials/w3m-account-tokens/index.tsx +2 -1
  205. package/src/partials/w3m-connecting-mobile/index.tsx +7 -8
  206. package/src/partials/w3m-connecting-qrcode/index.tsx +16 -12
  207. package/src/partials/w3m-connecting-web/index.tsx +7 -9
  208. package/src/partials/w3m-header/index.tsx +2 -2
  209. package/src/partials/w3m-selector-modal/index.tsx +2 -2
  210. package/src/types.ts +190 -0
  211. package/src/utils/HelpersUtil.ts +3 -2
  212. package/src/utils/UiUtil.ts +1 -25
  213. package/src/views/w3m-account-default-view/index.tsx +5 -4
  214. package/src/views/w3m-account-view/index.tsx +2 -1
  215. package/src/views/w3m-all-wallets-view/index.tsx +5 -5
  216. package/src/views/w3m-connect-view/components/all-wallet-list.tsx +3 -3
  217. package/src/views/w3m-connect-view/components/custom-wallet-list.tsx +3 -3
  218. package/src/views/w3m-connect-view/components/recent-wallet-list.tsx +2 -2
  219. package/src/views/w3m-connect-view/index.tsx +2 -2
  220. package/src/views/w3m-connecting-external-view/index.tsx +7 -8
  221. package/src/views/w3m-connecting-siwe-view/index.tsx +5 -9
  222. package/src/views/w3m-connecting-social-view/index.tsx +8 -10
  223. package/src/views/w3m-connecting-view/index.tsx +9 -9
  224. package/src/views/w3m-network-switch-view/index.tsx +8 -6
  225. package/src/views/w3m-networks-view/index.tsx +5 -4
  226. package/src/views/w3m-onramp-checkout-view/index.tsx +2 -1
  227. package/src/views/w3m-onramp-view/components/Header.tsx +2 -2
  228. package/src/views/w3m-onramp-view/index.tsx +3 -2
  229. package/src/views/w3m-swap-view/components/select-token-view/index.tsx +2 -1
  230. package/src/views/w3m-unsupported-chain-view/index.tsx +4 -5
  231. package/src/views/w3m-wallet-compatible-networks-view/index.tsx +2 -1
  232. package/src/views/w3m-wallet-receive-view/index.tsx +6 -2
  233. package/src/views/w3m-wallet-send-preview-view/components/preview-send-details.tsx +2 -2
  234. package/src/views/w3m-wallet-send-select-token-view/index.tsx +2 -1
@@ -5,7 +5,7 @@ import {
5
5
  RouterController,
6
6
  ApiController,
7
7
  AssetUtil,
8
- ConnectionController,
8
+ WcController,
9
9
  CoreHelperUtil,
10
10
  OptionsController,
11
11
  EventsController
@@ -19,7 +19,6 @@ import {
19
19
  IconBox
20
20
  } from '@reown/appkit-ui-react-native';
21
21
 
22
- import { UiUtil } from '../../utils/UiUtil';
23
22
  import { ConnectingBody, getMessage } from '../w3m-connecting-body';
24
23
  import styles from './styles';
25
24
 
@@ -29,7 +28,7 @@ interface ConnectingWebProps {
29
28
 
30
29
  export function ConnectingWeb({ onCopyUri }: ConnectingWebProps) {
31
30
  const { data } = RouterController.state;
32
- const { wcUri, wcError } = useSnapshot(ConnectionController.state);
31
+ const { wcUri, wcError } = useSnapshot(WcController.state);
33
32
  const showCopy = OptionsController.isClipboardAvailable();
34
33
  const bodyMessage = getMessage({
35
34
  walletName: data?.wallet?.name,
@@ -41,15 +40,14 @@ export function ConnectingWeb({ onCopyUri }: ConnectingWebProps) {
41
40
  try {
42
41
  const { name, webapp_link } = data?.wallet ?? {};
43
42
  if (name && webapp_link && wcUri) {
44
- ConnectionController.setWcError(false);
43
+ WcController.setWcError(false);
45
44
  const { redirect, href } = CoreHelperUtil.formatUniversalUrl(webapp_link, wcUri);
46
45
  const wcLinking = { name, href };
47
- ConnectionController.setWcLinking(wcLinking);
48
- ConnectionController.setPressedWallet(data?.wallet);
46
+ WcController.setWcLinking(wcLinking);
47
+ WcController.setPressedWallet(data?.wallet);
49
48
  await Linking.openURL(redirect);
50
- await ConnectionController.state.wcPromise;
51
-
52
- UiUtil.storeConnectedWallet(wcLinking, data?.wallet);
49
+ await WcController.state.wcPromise;
50
+ WcController.setConnectedWallet(wcLinking, data?.wallet);
53
51
 
54
52
  EventsController.sendEvent({
55
53
  type: 'track',
@@ -8,10 +8,10 @@ import { IconLink, Text, FlexView } from '@reown/appkit-ui-react-native';
8
8
  import { StringUtil } from '@reown/appkit-common-react-native';
9
9
 
10
10
  import styles from './styles';
11
- import { useAppKit } from '../../AppKitContext';
11
+ import { useInternalAppKit } from '../../AppKitContext';
12
12
 
13
13
  export function Header() {
14
- const { close, back } = useAppKit();
14
+ const { close, back } = useInternalAppKit();
15
15
  const { data, view } = useSnapshot(RouterController.state);
16
16
  const onHelpPress = () => {
17
17
  RouterController.push('WhatIsAWallet');
@@ -12,7 +12,7 @@ import {
12
12
  useTheme
13
13
  } from '@reown/appkit-ui-react-native';
14
14
  import styles from './styles';
15
- import { AssetController, ConnectionsController } from '@reown/appkit-core-react-native';
15
+ import { AssetController, AssetUtil, ConnectionsController } from '@reown/appkit-core-react-native';
16
16
 
17
17
  interface SelectorModalProps {
18
18
  title?: string;
@@ -46,7 +46,7 @@ export function SelectorModal({
46
46
  const Theme = useTheme();
47
47
  const { activeNetwork } = useSnapshot(ConnectionsController.state);
48
48
  const { networkImages } = useSnapshot(AssetController.state);
49
- const networkImage = activeNetwork ? networkImages[activeNetwork.id] : undefined;
49
+ const networkImage = AssetUtil.getNetworkImage(activeNetwork, networkImages);
50
50
 
51
51
  const renderSeparator = () => {
52
52
  return <View style={{ height: SEPARATOR_HEIGHT }} />;
package/src/types.ts ADDED
@@ -0,0 +1,190 @@
1
+ import {
2
+ type Features,
3
+ type OptionsControllerState,
4
+ type UniversalProviderConfigOverride
5
+ } from '@reown/appkit-core-react-native';
6
+
7
+ import {
8
+ type WalletConnector,
9
+ type BlockchainAdapter,
10
+ type Metadata,
11
+ type Network,
12
+ type Storage,
13
+ type AppKitSIWEClient,
14
+ type ThemeMode,
15
+ type ThemeVariables,
16
+ type Tokens
17
+ } from '@reown/appkit-common-react-native';
18
+
19
+ /**
20
+ * Configuration interface for initializing the AppKit instance.
21
+ * This interface defines all the required and optional parameters needed to set up
22
+ * the AppKit with blockchain adapters, networks, storage, and various customization options.
23
+ *
24
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options | AppKit Options Documentation}
25
+ */
26
+ export interface AppKitConfig {
27
+ /**
28
+ * The WalletConnect project ID required for establishing connections.
29
+ * This is obtained from the https://dashboard.reown.com/
30
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#projectid | Project ID Documentation}
31
+ */
32
+ projectId: string;
33
+
34
+ /**
35
+ * Metadata information about your application.
36
+ * This is displayed to users during the connection process.
37
+ *
38
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#metadata | Metadata Documentation}
39
+ */
40
+ metadata: Metadata;
41
+
42
+ /**
43
+ * Array of blockchain adapters that handle different blockchain networks.
44
+ * Each adapter must implement the BlockchainAdapter interface and support
45
+ * a specific chain namespace (eip155, solana, etc.).
46
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#adapters | Adapters Documentation}
47
+ * @example [new EthersAdapter(), new SolanaAdapter()]
48
+ */
49
+ adapters: BlockchainAdapter[];
50
+
51
+ /**
52
+ * Array of supported networks that your application can connect to.
53
+ * Each network should have a corresponding adapter in the adapters array.
54
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#networks | Networks Documentation}
55
+ * @example [ethereum, polygon, solana]
56
+ */
57
+ networks: Network[];
58
+
59
+ /**
60
+ * Storage implementation for persisting connection state, preferences, and session data.
61
+ * Must implement the Storage interface with async methods for data persistence.
62
+ */
63
+ storage: Storage;
64
+
65
+ /**
66
+ * Optional array of custom wallet connectors beyond the default WalletConnect connector.
67
+ * Useful for adding support for specific wallets like Coinbase, Phantom, etc.
68
+ * @example [new CoinbaseConnector(), new PhantomConnector()]
69
+ */
70
+ extraConnectors?: WalletConnector[];
71
+
72
+ /**
73
+ * Optional clipboard client for handling copy operations in different environments.
74
+ * Useful for customizing how addresses and other data are copied to clipboard.
75
+ *
76
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#clipboardclient | Clipboard Client Documentation}
77
+ */
78
+ clipboardClient?: OptionsControllerState['clipboardClient'];
79
+
80
+ /**
81
+ * Optional array of wallet IDs to include in the wallet selection list.
82
+ * If provided, only these wallets will be shown to users.
83
+ *
84
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#includewalletids | Include Wallet IDs Documentation}
85
+ * @example ["1ae92b26df02f0abca6304df07debccd18262fdf5fe82daa81593582dac9a369", "4622a2b2d6af1c9844944291e5e7351a6aa24cd7b23099efac1b2fd875da31a0"]
86
+ */
87
+ includeWalletIds?: OptionsControllerState['includeWalletIds'];
88
+
89
+ /**
90
+ * Optional array of wallet IDs to exclude from the wallet selection list.
91
+ * These wallets will not be shown to users even if they're available.
92
+ *
93
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#excludewalletids | Exclude Wallet IDs Documentation}
94
+ * @example ["1ae92b26df02f0abca6304df07debccd18262fdf5fe82daa81593582dac9a369", "4622a2b2d6af1c9844944291e5e7351a6aa24cd7b23099efac1b2fd875da31a0"]
95
+ */
96
+ excludeWalletIds?: OptionsControllerState['excludeWalletIds'];
97
+
98
+ /**
99
+ * Optional array of wallet IDs to feature at the top of the wallet selection list.
100
+ * These wallets will appear prominently for better user experience.
101
+ *
102
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#featuredwalletids | Featured Wallet IDs Documentation}
103
+ * @example ["1ae92b26df02f0abca6304df07debccd18262fdf5fe82daa81593582dac9a369", "4622a2b2d6af1c9844944291e5e7351a6aa24cd7b23099efac1b2fd875da31a0"]
104
+ */
105
+ featuredWalletIds?: OptionsControllerState['featuredWalletIds'];
106
+
107
+ /**
108
+ * Optional array of custom wallet configurations.
109
+ * Allows you to add custom wallets with specific metadata and behavior.
110
+ *
111
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#customwallets | Custom Wallets Documentation}
112
+ */
113
+ customWallets?: OptionsControllerState['customWallets'];
114
+
115
+ /**
116
+ * Optional token configurations for different networks.
117
+ * Used for displaying token balances and information in the UI.
118
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#tokens | Tokens Documentation}
119
+ * @example { "eip155:1": { address: "0x..." } }
120
+ */
121
+ tokens?: Tokens;
122
+
123
+ /**
124
+ * Optional flag to enable analytics tracking.
125
+ * When enabled, AppKit will send usage analytics events.
126
+ *
127
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#enableanalytics | Enable Analytics Documentation}
128
+ * @default false
129
+ */
130
+ enableAnalytics?: OptionsControllerState['enableAnalytics'];
131
+
132
+ /**
133
+ * Optional flag to enable debug mode.
134
+ * When enabled, additional logging and debugging information will be output.
135
+ *
136
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#debug | Debug Documentation}
137
+ * @default false
138
+ */
139
+ debug?: OptionsControllerState['debug'];
140
+
141
+ /**
142
+ * Optional theme mode for the AppKit UI.
143
+ * Controls whether the interface uses light or dark theme.
144
+ * @default "dark"
145
+ * @see {@link https://docs.reown.com/appkit/react-native/core/theming#thememode | Theme Mode Documentation}
146
+ * @example "light" | "dark"
147
+ */
148
+ themeMode?: ThemeMode;
149
+
150
+ /**
151
+ * Optional theme variables for customizing the AppKit UI appearance.
152
+ * Allows you to override default colors and styling.
153
+ *
154
+ * @see {@link https://docs.reown.com/appkit/react-native/core/theming#themevariables | Theme Variables Documentation}
155
+ * @example { accent: "#3B82F6" }
156
+ */
157
+ themeVariables?: ThemeVariables;
158
+
159
+ /**
160
+ * Optional SIWE (Sign-In with Ethereum) configuration.
161
+ * Enables authentication flow using Ethereum signatures.
162
+ * Must implement the AppKitSIWEClient interface.
163
+ *
164
+ * @see {@link https://docs.reown.com/appkit/react-native/core/siwe | SIWE Documentation}
165
+ */
166
+ siweConfig?: AppKitSIWEClient;
167
+
168
+ /**
169
+ * Optional default network to use when no specific network is selected.
170
+ * This network will be used as the initial active network.
171
+ *
172
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#defaultnetwork | Default Network Documentation}
173
+ */
174
+ defaultNetwork?: Network;
175
+
176
+ /**
177
+ * Optional features configuration to enable/disable specific AppKit functionality.
178
+ * Controls which features are available in the UI and API.
179
+ *
180
+ * @see {@link https://docs.reown.com/appkit/react-native/core/options#features | Features Documentation}
181
+ * @example { onramp: true, swap: false }
182
+ */
183
+ features?: Features;
184
+
185
+ /**
186
+ * Optional configuration override for the Universal Provider.
187
+ * Allows customization of WalletConnect's Universal Provider behavior.
188
+ */
189
+ universalProviderConfigOverride?: UniversalProviderConfigOverride;
190
+ }
@@ -6,6 +6,7 @@ import {
6
6
  solana,
7
7
  solanaDevnet
8
8
  } from '@reown/appkit-common-react-native';
9
+ import type { UniversalProviderConfigOverride } from '@reown/appkit-core-react-native';
9
10
 
10
11
  export const DEFAULT_METHODS = {
11
12
  solana: [
@@ -64,7 +65,7 @@ export const WcHelpersUtil = {
64
65
 
65
66
  applyNamespaceOverrides(
66
67
  baseNamespaces: NamespaceConfig,
67
- overrides?: any //TODO: add OptionsControllerState['universalProviderConfigOverride']
68
+ overrides?: UniversalProviderConfigOverride
68
69
  ): NamespaceConfig {
69
70
  if (!overrides) {
70
71
  return { ...baseNamespaces };
@@ -160,7 +161,7 @@ export const WcHelpersUtil = {
160
161
 
161
162
  createNamespaces(
162
163
  caipNetworks: AppKitNetwork[],
163
- configOverride?: any //TODO: fix this
164
+ configOverride?: UniversalProviderConfigOverride
164
165
  ): NamespaceConfig {
165
166
  const defaultNamespaces = caipNetworks.reduce<NamespaceConfig>((acc, chain) => {
166
167
  const { id, rpcUrls } = chain;
@@ -1,11 +1,4 @@
1
- import {
2
- AssetUtil,
3
- ConnectionController,
4
- RouterController,
5
- StorageUtil,
6
- type WcWallet
7
- } from '@reown/appkit-core-react-native';
8
- import type { WalletDeepLink } from '@reown/appkit-common-react-native';
1
+ import { RouterController } from '@reown/appkit-core-react-native';
9
2
 
10
3
  // Global animation instance to coordinate transitions
11
4
  let currentRouteTransition: ((direction: 'forward' | 'backward' | 'none') => Promise<void>) | null =
@@ -25,22 +18,5 @@ export const UiUtil = {
25
18
  const { navigationDirection } = RouterController.state;
26
19
  await currentRouteTransition(navigationDirection);
27
20
  }
28
- },
29
-
30
- storeConnectedWallet: async (wcLinking: WalletDeepLink, pressedWallet?: WcWallet) => {
31
- StorageUtil.setWalletConnectDeepLink(wcLinking);
32
-
33
- if (pressedWallet) {
34
- UiUtil.storeRecentWallet(pressedWallet);
35
- const url = AssetUtil.getWalletImage(pressedWallet);
36
- ConnectionController.setConnectedWalletImageUrl(url);
37
- }
38
- },
39
-
40
- storeRecentWallet: async (wallet: WcWallet) => {
41
- const recentWallets = await StorageUtil.addRecentWallet(wallet);
42
- if (recentWallets) {
43
- ConnectionController.setRecentWallets(recentWallets);
44
- }
45
21
  }
46
22
  };
@@ -13,7 +13,8 @@ import {
13
13
  SwapController,
14
14
  OnRampController,
15
15
  ConnectionsController,
16
- AssetController
16
+ AssetController,
17
+ AssetUtil
17
18
  } from '@reown/appkit-core-react-native';
18
19
  // import { ConstantsUtil as CommonConstantsUtil } from '@reown/appkit-common-react-native';
19
20
  import {
@@ -27,14 +28,14 @@ import {
27
28
  ListItem
28
29
  } from '@reown/appkit-ui-react-native';
29
30
 
30
- import { useAppKit } from '../../AppKitContext';
31
+ import { useInternalAppKit } from '../../AppKitContext';
31
32
 
32
33
  import { useCustomDimensions } from '../../hooks/useCustomDimensions';
33
34
  import { AuthButtons } from './components/auth-buttons';
34
35
  import styles from './styles';
35
36
 
36
37
  export function AccountDefaultView() {
37
- const { switchAccountType, disconnect } = useAppKit();
38
+ const { switchAccountType, disconnect } = useInternalAppKit();
38
39
  const { loading } = useSnapshot(ModalController.state);
39
40
  const {
40
41
  activeAddress: address,
@@ -50,7 +51,7 @@ export function AccountDefaultView() {
50
51
  const { features, isOnRampEnabled } = useSnapshot(OptionsController.state);
51
52
  const { history } = useSnapshot(RouterController.state);
52
53
  const { networkImages } = useSnapshot(AssetController.state);
53
- const networkImage = activeNetwork ? networkImages[activeNetwork.id] : undefined;
54
+ const networkImage = AssetUtil.getNetworkImage(activeNetwork, networkImages);
54
55
  const showCopy = OptionsController.isClipboardAvailable();
55
56
  const isAuth = !!connection?.properties?.provider;
56
57
  const showBalance = balance && !isAuth;
@@ -12,6 +12,7 @@ import {
12
12
  import {
13
13
  ApiController,
14
14
  AssetController,
15
+ AssetUtil,
15
16
  ConnectionsController,
16
17
  CoreHelperUtil,
17
18
  EventsController,
@@ -31,7 +32,7 @@ export function AccountView() {
31
32
  const { activeNetwork, activeAddress, identity } = useSnapshot(ConnectionsController.state);
32
33
  const { networkImages } = useSnapshot(AssetController.state);
33
34
  const address = CoreHelperUtil.getPlainAddress(activeAddress);
34
- const networkImage = activeNetwork ? networkImages[activeNetwork.id] : undefined;
35
+ const networkImage = AssetUtil.getNetworkImage(activeNetwork, networkImages);
35
36
 
36
37
  const onProfilePress = () => {
37
38
  RouterController.push('AccountDefault');
@@ -1,6 +1,6 @@
1
1
  import { useState } from 'react';
2
2
  import {
3
- ConnectionController,
3
+ WcController,
4
4
  EventsController,
5
5
  RouterController,
6
6
  type WcWallet
@@ -26,8 +26,8 @@ export function AllWalletsView() {
26
26
 
27
27
  const onWalletPress = (wallet: WcWallet) => {
28
28
  const isExternal =
29
- wallet.id === ConstantsUtil.PHANTOM_EXPLORER_ID ||
30
- wallet.id === ConstantsUtil.COINBASE_EXPLORER_ID;
29
+ wallet.id === ConstantsUtil.PHANTOM_CUSTOM_WALLET.id ||
30
+ wallet.id === ConstantsUtil.COINBASE_CUSTOM_WALLET.id;
31
31
  if (isExternal) {
32
32
  RouterController.push('ConnectingExternal', { wallet });
33
33
  } else {
@@ -42,8 +42,8 @@ export function AllWalletsView() {
42
42
  };
43
43
 
44
44
  const onQrCodePress = () => {
45
- ConnectionController.removePressedWallet();
46
- ConnectionController.removeWcLinking();
45
+ WcController.removePressedWallet();
46
+ WcController.removeWcLinking();
47
47
  RouterController.push('ConnectingWalletConnect');
48
48
 
49
49
  EventsController.sendEvent({
@@ -3,8 +3,8 @@ import { useSnapshot } from 'valtio';
3
3
  import {
4
4
  ApiController,
5
5
  AssetUtil,
6
- ConnectionController,
7
- type ConnectionControllerState,
6
+ WcController,
7
+ type WcControllerState,
8
8
  type WcWallet
9
9
  } from '@reown/appkit-core-react-native';
10
10
  import { ListItemLoader, ListWallet } from '@reown/appkit-ui-react-native';
@@ -18,7 +18,7 @@ interface Props {
18
18
 
19
19
  export function AllWalletList({ itemStyle, onWalletPress }: Props) {
20
20
  const { installed, featured, recommended, prefetchLoading } = useSnapshot(ApiController.state);
21
- const { recentWallets } = useSnapshot(ConnectionController.state) as ConnectionControllerState;
21
+ const { recentWallets } = useSnapshot(WcController.state) as WcControllerState;
22
22
  const imageHeaders = ApiController._getApiHeaders();
23
23
  const RECENT_COUNT = recentWallets?.length && installed.length ? 1 : recentWallets?.length ?? 0;
24
24
 
@@ -5,8 +5,8 @@ import {
5
5
  type CustomWallet,
6
6
  type OptionsControllerState,
7
7
  ApiController,
8
- ConnectionController,
9
- type ConnectionControllerState,
8
+ WcController,
9
+ type WcControllerState,
10
10
  AssetUtil
11
11
  } from '@reown/appkit-core-react-native';
12
12
  import { ListWallet } from '@reown/appkit-ui-react-native';
@@ -20,7 +20,7 @@ interface Props {
20
20
  export function CustomWalletList({ itemStyle, onWalletPress }: Props) {
21
21
  const { installed } = useSnapshot(ApiController.state);
22
22
  const imageHeaders = ApiController._getApiHeaders();
23
- const { recentWallets } = useSnapshot(ConnectionController.state) as ConnectionControllerState;
23
+ const { recentWallets } = useSnapshot(WcController.state) as WcControllerState;
24
24
  const { customWallets } = useSnapshot(OptionsController.state) as OptionsControllerState;
25
25
  const RECENT_COUNT = recentWallets?.length && installed.length ? 1 : recentWallets?.length ?? 0;
26
26
 
@@ -3,7 +3,7 @@ import {
3
3
  ApiController,
4
4
  AssetUtil,
5
5
  type WcWallet,
6
- ConnectionController
6
+ WcController
7
7
  } from '@reown/appkit-core-react-native';
8
8
  import { ListWallet } from '@reown/appkit-ui-react-native';
9
9
  import type { StyleProp, ViewStyle } from 'react-native';
@@ -15,7 +15,7 @@ interface Props {
15
15
 
16
16
  export function RecentWalletList({ itemStyle, onWalletPress }: Props) {
17
17
  const installed = ApiController.state.installed;
18
- const { recentWallets } = useSnapshot(ConnectionController.state);
18
+ const { recentWallets } = useSnapshot(WcController.state);
19
19
  const imageHeaders = ApiController._getApiHeaders();
20
20
  const RECENT_COUNT = recentWallets?.length && installed.length ? 1 : recentWallets?.length ?? 0;
21
21
 
@@ -31,8 +31,8 @@ export function ConnectView() {
31
31
 
32
32
  const onWalletPress = (wallet: WcWallet, isInstalled?: boolean) => {
33
33
  const isExternal =
34
- wallet.id === ConstantsUtil.PHANTOM_EXPLORER_ID ||
35
- wallet.id === ConstantsUtil.COINBASE_EXPLORER_ID;
34
+ wallet.id === ConstantsUtil.PHANTOM_CUSTOM_WALLET.id ||
35
+ wallet.id === ConstantsUtil.COINBASE_CUSTOM_WALLET.id;
36
36
  if (isExternal) {
37
37
  RouterController.push('ConnectingExternal', { wallet });
38
38
  } else {
@@ -5,7 +5,7 @@ import {
5
5
  RouterController,
6
6
  ApiController,
7
7
  EventsController,
8
- ConnectionController,
8
+ WcController,
9
9
  AssetUtil
10
10
  } from '@reown/appkit-core-react-native';
11
11
  import {
@@ -19,13 +19,12 @@ import {
19
19
  import { useCustomDimensions } from '../../hooks/useCustomDimensions';
20
20
  import { ConnectingBody, getMessage, type BodyErrorType } from '../../partials/w3m-connecting-body';
21
21
  import styles from './styles';
22
- import { useAppKit } from '../../AppKitContext';
22
+ import { useInternalAppKit } from '../../AppKitContext';
23
23
  import { ConstantsUtil } from '@reown/appkit-common-react-native';
24
- import { UiUtil } from '../../utils/UiUtil';
25
24
 
26
25
  export function ConnectingExternalView() {
27
26
  const { data } = useSnapshot(RouterController.state);
28
- const { connect } = useAppKit();
27
+ const { connect } = useInternalAppKit();
29
28
  const { maxWidth: width } = useCustomDimensions();
30
29
  const [errorType, setErrorType] = useState<BodyErrorType>();
31
30
  const bodyMessage = getMessage({ walletName: data?.wallet?.name, errorType });
@@ -39,16 +38,16 @@ export function ConnectingExternalView() {
39
38
  try {
40
39
  const wallet = RouterController.state.data?.wallet;
41
40
  if (wallet) {
42
- if (wallet.id === ConstantsUtil.PHANTOM_EXPLORER_ID) {
41
+ if (wallet.id === ConstantsUtil.PHANTOM_CUSTOM_WALLET.id) {
43
42
  await connect('phantom');
44
- } else if (wallet.id === ConstantsUtil.COINBASE_EXPLORER_ID) {
43
+ } else if (wallet.id === ConstantsUtil.COINBASE_CUSTOM_WALLET.id) {
45
44
  await connect('coinbase');
46
45
  } else {
47
46
  // All other wallets are handled by WalletConnect connector
48
47
  return;
49
48
  }
50
- UiUtil.storeRecentWallet(wallet);
51
- ConnectionController.setPressedWallet(wallet);
49
+ WcController.addRecentWallet(wallet);
50
+ WcController.setPressedWallet(wallet);
52
51
  EventsController.sendEvent({
53
52
  type: 'track',
54
53
  event: 'CONNECT_SUCCESS',
@@ -9,8 +9,6 @@ import {
9
9
  Text
10
10
  } from '@reown/appkit-ui-react-native';
11
11
  import {
12
- AssetUtil,
13
- ConnectionController,
14
12
  ConnectionsController,
15
13
  EventsController,
16
14
  OptionsController,
@@ -19,20 +17,19 @@ import {
19
17
  } from '@reown/appkit-core-react-native';
20
18
  import { SIWEController } from '@reown/appkit-siwe-react-native';
21
19
 
22
- import { useAppKit } from '../../AppKitContext';
20
+ import { useInternalAppKit } from '../../AppKitContext';
23
21
  import styles from './styles';
24
22
 
25
23
  export function ConnectingSiweView() {
26
- const { disconnect } = useAppKit();
24
+ const { disconnect } = useInternalAppKit();
27
25
  const { metadata } = useSnapshot(OptionsController.state);
28
- const { connectedWalletImageUrl, pressedWallet } = useSnapshot(ConnectionController.state);
29
- const { activeAddress } = useSnapshot(ConnectionsController.state);
26
+ const { activeAddress, identity, walletInfo } = useSnapshot(ConnectionsController.state);
30
27
  const [isSigning, setIsSigning] = useState(false);
31
28
  const [isDisconnecting, setIsDisconnecting] = useState(false);
32
29
 
33
30
  const dappName = metadata?.name || 'Dapp';
34
31
  const dappIcon = metadata?.icons[0] || '';
35
- const walletIcon = AssetUtil.getWalletImage(pressedWallet) || connectedWalletImageUrl;
32
+ const walletIcon = walletInfo?.icon;
36
33
  const isSmartAccount = ConnectionsController.state.accountType === 'smartAccount';
37
34
  const network = ConnectionsController.state.activeNetwork?.caipNetworkId || '';
38
35
 
@@ -83,7 +80,6 @@ export function ConnectingSiweView() {
83
80
  });
84
81
  };
85
82
 
86
- //TODO: Add profile image in Avatar
87
83
  return (
88
84
  <FlexView padding={['2xl', 's', '3xl', 's']}>
89
85
  <IconLink
@@ -101,7 +97,7 @@ export function ConnectingSiweView() {
101
97
  leftImage={dappIcon}
102
98
  rightImage={walletIcon}
103
99
  renderRightPlaceholder={() => (
104
- <Avatar imageSrc={undefined} address={activeAddress} size={60} borderWidth={0} />
100
+ <Avatar imageSrc={identity?.avatar} address={activeAddress} size={60} borderWidth={0} />
105
101
  )}
106
102
  rightItemStyle={!walletIcon && styles.walletAvatar}
107
103
  />
@@ -1,7 +1,7 @@
1
1
  import { useSnapshot } from 'valtio';
2
2
  import { useCallback, useEffect, useState } from 'react';
3
3
  import {
4
- ConnectionController,
4
+ WcController,
5
5
  CoreHelperUtil,
6
6
  EventsController,
7
7
  RouterController,
@@ -11,15 +11,14 @@ import { FlexView, LoadingThumbnail, IconBox, Logo, Text } from '@reown/appkit-u
11
11
  import { ConstantsUtil, StringUtil } from '@reown/appkit-common-react-native';
12
12
 
13
13
  import { useCustomDimensions } from '../../hooks/useCustomDimensions';
14
- import { useAppKit } from '../../AppKitContext';
15
- import { UiUtil } from '../../utils/UiUtil';
14
+ import { useInternalAppKit } from '../../AppKitContext';
16
15
  import styles from './styles';
17
16
 
18
17
  export function ConnectingSocialView() {
19
18
  const { maxWidth: width } = useCustomDimensions();
20
- const { connect } = useAppKit();
19
+ const { connect } = useInternalAppKit();
21
20
  const { data } = useSnapshot(RouterController.state);
22
- const { wcUri } = useSnapshot(ConnectionController.state);
21
+ const { wcUri } = useSnapshot(WcController.state);
23
22
  const [error, setError] = useState(false);
24
23
 
25
24
  const onConnect = useCallback(async () => {
@@ -31,11 +30,10 @@ export function ConnectingSocialView() {
31
30
  RouterController.state.data?.socialProvider
32
31
  );
33
32
  const wcLinking = { name: 'Reown Wallet', href };
34
- ConnectionController.setWcLinking(wcLinking);
33
+ WcController.setWcLinking(wcLinking);
35
34
  await CoreHelperUtil.openLink(redirect);
36
- await ConnectionController.state.wcPromise;
37
- //todo: rename this. its not just UI
38
- UiUtil.storeConnectedWallet(wcLinking);
35
+ await WcController.state.wcPromise;
36
+ WcController.setConnectedWallet(wcLinking);
39
37
  EventsController.sendEvent({
40
38
  type: 'track',
41
39
  event: 'SOCIAL_LOGIN_SUCCESS',
@@ -55,7 +53,7 @@ export function ConnectingSocialView() {
55
53
 
56
54
  const initializeConnection = useCallback(async () => {
57
55
  const connectPromise = connect('walletconnect');
58
- ConnectionController.setWcPromise(connectPromise);
56
+ WcController.setWcPromise(connectPromise);
59
57
  }, [connect]);
60
58
 
61
59
  useEffect(() => {