thirdweb 5.42.0-nightly-e27ebef85bb61342c3de53f85e134cf4a29f787c-20240730000342 → 5.43.0-nightly-75cc5a6434d29dbfe69b6cd6344a7c8426d59fac-20240731000316

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 (253) hide show
  1. package/dist/cjs/adapters/wallet-adapter.js +12 -1
  2. package/dist/cjs/adapters/wallet-adapter.js.map +1 -1
  3. package/dist/cjs/cli/bin.js +13 -0
  4. package/dist/cjs/cli/bin.js.map +1 -1
  5. package/dist/cjs/exports/react.js +3 -1
  6. package/dist/cjs/exports/react.js.map +1 -1
  7. package/dist/cjs/exports/wallets/in-app.js.map +1 -1
  8. package/dist/cjs/exports/wallets.js.map +1 -1
  9. package/dist/cjs/exports/wallets.native.js.map +1 -1
  10. package/dist/cjs/extensions/marketplace/direct-listings/write/createListing.js +5 -1
  11. package/dist/cjs/extensions/marketplace/direct-listings/write/createListing.js.map +1 -1
  12. package/dist/cjs/pay/buyWithCrypto/getStatus.js.map +1 -1
  13. package/dist/cjs/react/core/hooks/wallets/useActiveAccount.js +1 -1
  14. package/dist/cjs/react/core/hooks/wallets/useActiveAccount.js.map +1 -1
  15. package/dist/cjs/react/core/hooks/wallets/useActiveWallet.js +1 -1
  16. package/dist/cjs/react/core/hooks/wallets/useActiveWallet.js.map +1 -1
  17. package/dist/cjs/react/core/hooks/wallets/useActiveWalletChain.js +1 -1
  18. package/dist/cjs/react/core/hooks/wallets/useActiveWalletChain.js.map +1 -1
  19. package/dist/cjs/react/core/hooks/wallets/useActiveWalletConnectionStatus.js +1 -1
  20. package/dist/cjs/react/core/hooks/wallets/useActiveWalletConnectionStatus.js.map +1 -1
  21. package/dist/cjs/react/core/hooks/wallets/useAutoConnect.js +4 -2
  22. package/dist/cjs/react/core/hooks/wallets/useAutoConnect.js.map +1 -1
  23. package/dist/cjs/react/core/hooks/wallets/useConnect.js +1 -1
  24. package/dist/cjs/react/core/hooks/wallets/useConnect.js.map +1 -1
  25. package/dist/cjs/react/core/hooks/wallets/useConnectedWallets.js +1 -1
  26. package/dist/cjs/react/core/hooks/wallets/useConnectedWallets.js.map +1 -1
  27. package/dist/cjs/react/core/hooks/wallets/useDisconnect.js +1 -1
  28. package/dist/cjs/react/core/hooks/wallets/useDisconnect.js.map +1 -1
  29. package/dist/cjs/react/core/hooks/wallets/useIsAutoConnecting.js +1 -1
  30. package/dist/cjs/react/core/hooks/wallets/useIsAutoConnecting.js.map +1 -1
  31. package/dist/cjs/react/core/hooks/wallets/useSetActiveWallet.js +1 -1
  32. package/dist/cjs/react/core/hooks/wallets/useSetActiveWallet.js.map +1 -1
  33. package/dist/cjs/react/core/hooks/wallets/useSetActiveWalletConnectionStatus.js +1 -1
  34. package/dist/cjs/react/core/hooks/wallets/useSetActiveWalletConnectionStatus.js.map +1 -1
  35. package/dist/cjs/react/core/hooks/wallets/useSwitchActiveWalletChain.js +1 -1
  36. package/dist/cjs/react/core/hooks/wallets/useSwitchActiveWalletChain.js.map +1 -1
  37. package/dist/cjs/react/core/providers/connection-manager.js +14 -2
  38. package/dist/cjs/react/core/providers/connection-manager.js.map +1 -1
  39. package/dist/cjs/react/web/ui/AutoConnect/AutoConnect.js +5 -0
  40. package/dist/cjs/react/web/ui/AutoConnect/AutoConnect.js.map +1 -1
  41. package/dist/cjs/react/web/ui/ConnectWallet/ConnectButton.js +196 -2
  42. package/dist/cjs/react/web/ui/ConnectWallet/ConnectButton.js.map +1 -1
  43. package/dist/cjs/react/web/ui/ConnectWallet/Modal/ConnectEmbed.js +109 -3
  44. package/dist/cjs/react/web/ui/ConnectWallet/Modal/ConnectEmbed.js.map +1 -1
  45. package/dist/cjs/react/web/ui/ConnectWallet/locale/de.js +114 -0
  46. package/dist/cjs/react/web/ui/ConnectWallet/locale/de.js.map +1 -0
  47. package/dist/cjs/react/web/ui/ConnectWallet/locale/getConnectLocale.js +3 -0
  48. package/dist/cjs/react/web/ui/ConnectWallet/locale/getConnectLocale.js.map +1 -1
  49. package/dist/cjs/react/web/ui/prebuilt/thirdweb/ClaimButton/index.js +2 -0
  50. package/dist/cjs/react/web/ui/prebuilt/thirdweb/ClaimButton/index.js.map +1 -1
  51. package/dist/cjs/react/web/ui/prebuilt/thirdweb/CreateDirectListingButton/index.js +118 -0
  52. package/dist/cjs/react/web/ui/prebuilt/thirdweb/CreateDirectListingButton/index.js.map +1 -0
  53. package/dist/cjs/react/web/wallets/injected/locale/de.js +27 -0
  54. package/dist/cjs/react/web/wallets/injected/locale/de.js.map +1 -0
  55. package/dist/cjs/react/web/wallets/injected/locale/getInjectedWalletLocale.js +2 -0
  56. package/dist/cjs/react/web/wallets/injected/locale/getInjectedWalletLocale.js.map +1 -1
  57. package/dist/cjs/react/web/wallets/shared/ConnectWalletSocialOptions.js +19 -7
  58. package/dist/cjs/react/web/wallets/shared/ConnectWalletSocialOptions.js.map +1 -1
  59. package/dist/cjs/react/web/wallets/shared/locale/de.js +55 -0
  60. package/dist/cjs/react/web/wallets/shared/locale/de.js.map +1 -0
  61. package/dist/cjs/react/web/wallets/shared/locale/getConnectLocale.js +2 -0
  62. package/dist/cjs/react/web/wallets/shared/locale/getConnectLocale.js.map +1 -1
  63. package/dist/cjs/react/web/wallets/smartWallet/locale/de.js +13 -0
  64. package/dist/cjs/react/web/wallets/smartWallet/locale/de.js.map +1 -0
  65. package/dist/cjs/react/web/wallets/smartWallet/locale/getSmartWalletLocale.js +2 -0
  66. package/dist/cjs/react/web/wallets/smartWallet/locale/getSmartWalletLocale.js.map +1 -1
  67. package/dist/cjs/react/web/wallets/walletConnect/locale.js +4 -0
  68. package/dist/cjs/react/web/wallets/walletConnect/locale.js.map +1 -1
  69. package/dist/cjs/version.js +1 -1
  70. package/dist/cjs/wallets/create-wallet.js +73 -0
  71. package/dist/cjs/wallets/create-wallet.js.map +1 -1
  72. package/dist/cjs/wallets/in-app/web/ecosystem.js +29 -3
  73. package/dist/cjs/wallets/in-app/web/ecosystem.js.map +1 -1
  74. package/dist/cjs/wallets/in-app/web/in-app.js +100 -5
  75. package/dist/cjs/wallets/in-app/web/in-app.js.map +1 -1
  76. package/dist/cjs/wallets/smart/smart-wallet.js +71 -5
  77. package/dist/cjs/wallets/smart/smart-wallet.js.map +1 -1
  78. package/dist/esm/adapters/wallet-adapter.js +12 -1
  79. package/dist/esm/adapters/wallet-adapter.js.map +1 -1
  80. package/dist/esm/cli/bin.js +13 -0
  81. package/dist/esm/cli/bin.js.map +1 -1
  82. package/dist/esm/exports/react.js +1 -0
  83. package/dist/esm/exports/react.js.map +1 -1
  84. package/dist/esm/exports/wallets/in-app.js.map +1 -1
  85. package/dist/esm/exports/wallets.js.map +1 -1
  86. package/dist/esm/exports/wallets.native.js.map +1 -1
  87. package/dist/esm/extensions/marketplace/direct-listings/write/createListing.js +5 -1
  88. package/dist/esm/extensions/marketplace/direct-listings/write/createListing.js.map +1 -1
  89. package/dist/esm/pay/buyWithCrypto/getStatus.js.map +1 -1
  90. package/dist/esm/react/core/hooks/wallets/useActiveAccount.js +2 -2
  91. package/dist/esm/react/core/hooks/wallets/useActiveAccount.js.map +1 -1
  92. package/dist/esm/react/core/hooks/wallets/useActiveWallet.js +2 -2
  93. package/dist/esm/react/core/hooks/wallets/useActiveWallet.js.map +1 -1
  94. package/dist/esm/react/core/hooks/wallets/useActiveWalletChain.js +2 -2
  95. package/dist/esm/react/core/hooks/wallets/useActiveWalletChain.js.map +1 -1
  96. package/dist/esm/react/core/hooks/wallets/useActiveWalletConnectionStatus.js +2 -2
  97. package/dist/esm/react/core/hooks/wallets/useActiveWalletConnectionStatus.js.map +1 -1
  98. package/dist/esm/react/core/hooks/wallets/useAutoConnect.js +5 -3
  99. package/dist/esm/react/core/hooks/wallets/useAutoConnect.js.map +1 -1
  100. package/dist/esm/react/core/hooks/wallets/useConnect.js +2 -2
  101. package/dist/esm/react/core/hooks/wallets/useConnect.js.map +1 -1
  102. package/dist/esm/react/core/hooks/wallets/useConnectedWallets.js +2 -2
  103. package/dist/esm/react/core/hooks/wallets/useConnectedWallets.js.map +1 -1
  104. package/dist/esm/react/core/hooks/wallets/useDisconnect.js +2 -2
  105. package/dist/esm/react/core/hooks/wallets/useDisconnect.js.map +1 -1
  106. package/dist/esm/react/core/hooks/wallets/useIsAutoConnecting.js +2 -2
  107. package/dist/esm/react/core/hooks/wallets/useIsAutoConnecting.js.map +1 -1
  108. package/dist/esm/react/core/hooks/wallets/useSetActiveWallet.js +2 -2
  109. package/dist/esm/react/core/hooks/wallets/useSetActiveWallet.js.map +1 -1
  110. package/dist/esm/react/core/hooks/wallets/useSetActiveWalletConnectionStatus.js +2 -2
  111. package/dist/esm/react/core/hooks/wallets/useSetActiveWalletConnectionStatus.js.map +1 -1
  112. package/dist/esm/react/core/hooks/wallets/useSwitchActiveWalletChain.js +2 -2
  113. package/dist/esm/react/core/hooks/wallets/useSwitchActiveWalletChain.js.map +1 -1
  114. package/dist/esm/react/core/providers/connection-manager.js +13 -2
  115. package/dist/esm/react/core/providers/connection-manager.js.map +1 -1
  116. package/dist/esm/react/web/ui/AutoConnect/AutoConnect.js +5 -0
  117. package/dist/esm/react/web/ui/AutoConnect/AutoConnect.js.map +1 -1
  118. package/dist/esm/react/web/ui/ConnectWallet/ConnectButton.js +196 -2
  119. package/dist/esm/react/web/ui/ConnectWallet/ConnectButton.js.map +1 -1
  120. package/dist/esm/react/web/ui/ConnectWallet/Modal/ConnectEmbed.js +109 -3
  121. package/dist/esm/react/web/ui/ConnectWallet/Modal/ConnectEmbed.js.map +1 -1
  122. package/dist/esm/react/web/ui/ConnectWallet/locale/de.js +112 -0
  123. package/dist/esm/react/web/ui/ConnectWallet/locale/de.js.map +1 -0
  124. package/dist/esm/react/web/ui/ConnectWallet/locale/getConnectLocale.js +3 -0
  125. package/dist/esm/react/web/ui/ConnectWallet/locale/getConnectLocale.js.map +1 -1
  126. package/dist/esm/react/web/ui/prebuilt/thirdweb/ClaimButton/index.js +2 -0
  127. package/dist/esm/react/web/ui/prebuilt/thirdweb/ClaimButton/index.js.map +1 -1
  128. package/dist/esm/react/web/ui/prebuilt/thirdweb/CreateDirectListingButton/index.js +115 -0
  129. package/dist/esm/react/web/ui/prebuilt/thirdweb/CreateDirectListingButton/index.js.map +1 -0
  130. package/dist/esm/react/web/wallets/injected/locale/de.js +25 -0
  131. package/dist/esm/react/web/wallets/injected/locale/de.js.map +1 -0
  132. package/dist/esm/react/web/wallets/injected/locale/getInjectedWalletLocale.js +2 -0
  133. package/dist/esm/react/web/wallets/injected/locale/getInjectedWalletLocale.js.map +1 -1
  134. package/dist/esm/react/web/wallets/shared/ConnectWalletSocialOptions.js +19 -7
  135. package/dist/esm/react/web/wallets/shared/ConnectWalletSocialOptions.js.map +1 -1
  136. package/dist/esm/react/web/wallets/shared/locale/de.js +53 -0
  137. package/dist/esm/react/web/wallets/shared/locale/de.js.map +1 -0
  138. package/dist/esm/react/web/wallets/shared/locale/getConnectLocale.js +2 -0
  139. package/dist/esm/react/web/wallets/shared/locale/getConnectLocale.js.map +1 -1
  140. package/dist/esm/react/web/wallets/smartWallet/locale/de.js +11 -0
  141. package/dist/esm/react/web/wallets/smartWallet/locale/de.js.map +1 -0
  142. package/dist/esm/react/web/wallets/smartWallet/locale/getSmartWalletLocale.js +2 -0
  143. package/dist/esm/react/web/wallets/smartWallet/locale/getSmartWalletLocale.js.map +1 -1
  144. package/dist/esm/react/web/wallets/walletConnect/locale.js +4 -0
  145. package/dist/esm/react/web/wallets/walletConnect/locale.js.map +1 -1
  146. package/dist/esm/version.js +1 -1
  147. package/dist/esm/wallets/create-wallet.js +73 -0
  148. package/dist/esm/wallets/create-wallet.js.map +1 -1
  149. package/dist/esm/wallets/in-app/web/ecosystem.js +29 -3
  150. package/dist/esm/wallets/in-app/web/ecosystem.js.map +1 -1
  151. package/dist/esm/wallets/in-app/web/in-app.js +100 -5
  152. package/dist/esm/wallets/in-app/web/in-app.js.map +1 -1
  153. package/dist/esm/wallets/smart/smart-wallet.js +71 -5
  154. package/dist/esm/wallets/smart/smart-wallet.js.map +1 -1
  155. package/dist/types/adapters/wallet-adapter.d.ts +12 -1
  156. package/dist/types/adapters/wallet-adapter.d.ts.map +1 -1
  157. package/dist/types/exports/react.d.ts +1 -0
  158. package/dist/types/exports/react.d.ts.map +1 -1
  159. package/dist/types/exports/wallets/in-app.d.ts +1 -0
  160. package/dist/types/exports/wallets/in-app.d.ts.map +1 -1
  161. package/dist/types/exports/wallets.d.ts +4 -2
  162. package/dist/types/exports/wallets.d.ts.map +1 -1
  163. package/dist/types/exports/wallets.native.d.ts +3 -2
  164. package/dist/types/exports/wallets.native.d.ts.map +1 -1
  165. package/dist/types/extensions/marketplace/direct-listings/write/createListing.d.ts +5 -1
  166. package/dist/types/extensions/marketplace/direct-listings/write/createListing.d.ts.map +1 -1
  167. package/dist/types/pay/buyWithCrypto/getStatus.d.ts +1 -1
  168. package/dist/types/pay/buyWithCrypto/getStatus.d.ts.map +1 -1
  169. package/dist/types/react/core/hooks/wallets/useAutoConnect.d.ts.map +1 -1
  170. package/dist/types/react/core/providers/connection-manager.d.ts +21 -0
  171. package/dist/types/react/core/providers/connection-manager.d.ts.map +1 -1
  172. package/dist/types/react/web/ui/AutoConnect/AutoConnect.d.ts +5 -0
  173. package/dist/types/react/web/ui/AutoConnect/AutoConnect.d.ts.map +1 -1
  174. package/dist/types/react/web/ui/ConnectWallet/ConnectButton.d.ts +196 -2
  175. package/dist/types/react/web/ui/ConnectWallet/ConnectButton.d.ts.map +1 -1
  176. package/dist/types/react/web/ui/ConnectWallet/Modal/ConnectEmbed.d.ts +109 -3
  177. package/dist/types/react/web/ui/ConnectWallet/Modal/ConnectEmbed.d.ts.map +1 -1
  178. package/dist/types/react/web/ui/ConnectWallet/locale/de.d.ts +4 -0
  179. package/dist/types/react/web/ui/ConnectWallet/locale/de.d.ts.map +1 -0
  180. package/dist/types/react/web/ui/ConnectWallet/locale/getConnectLocale.d.ts.map +1 -1
  181. package/dist/types/react/web/ui/prebuilt/thirdweb/ClaimButton/index.d.ts +2 -0
  182. package/dist/types/react/web/ui/prebuilt/thirdweb/ClaimButton/index.d.ts.map +1 -1
  183. package/dist/types/react/web/ui/prebuilt/thirdweb/CreateDirectListingButton/index.d.ts +37 -0
  184. package/dist/types/react/web/ui/prebuilt/thirdweb/CreateDirectListingButton/index.d.ts.map +1 -0
  185. package/dist/types/react/web/ui/types.d.ts +1 -1
  186. package/dist/types/react/web/ui/types.d.ts.map +1 -1
  187. package/dist/types/react/web/wallets/injected/locale/de.d.ts +7 -0
  188. package/dist/types/react/web/wallets/injected/locale/de.d.ts.map +1 -0
  189. package/dist/types/react/web/wallets/injected/locale/getInjectedWalletLocale.d.ts.map +1 -1
  190. package/dist/types/react/web/wallets/shared/ConnectWalletSocialOptions.d.ts.map +1 -1
  191. package/dist/types/react/web/wallets/shared/locale/de.d.ts +54 -0
  192. package/dist/types/react/web/wallets/shared/locale/de.d.ts.map +1 -0
  193. package/dist/types/react/web/wallets/shared/locale/getConnectLocale.d.ts.map +1 -1
  194. package/dist/types/react/web/wallets/smartWallet/locale/de.d.ts +4 -0
  195. package/dist/types/react/web/wallets/smartWallet/locale/de.d.ts.map +1 -0
  196. package/dist/types/react/web/wallets/smartWallet/locale/getSmartWalletLocale.d.ts.map +1 -1
  197. package/dist/types/react/web/wallets/walletConnect/locale.d.ts.map +1 -1
  198. package/dist/types/version.d.ts +1 -1
  199. package/dist/types/wallets/create-wallet.d.ts +73 -0
  200. package/dist/types/wallets/create-wallet.d.ts.map +1 -1
  201. package/dist/types/wallets/ecosystem/types.d.ts +5 -4
  202. package/dist/types/wallets/ecosystem/types.d.ts.map +1 -1
  203. package/dist/types/wallets/in-app/web/ecosystem.d.ts +29 -3
  204. package/dist/types/wallets/in-app/web/ecosystem.d.ts.map +1 -1
  205. package/dist/types/wallets/in-app/web/in-app.d.ts +100 -5
  206. package/dist/types/wallets/in-app/web/in-app.d.ts.map +1 -1
  207. package/dist/types/wallets/smart/smart-wallet.d.ts +71 -5
  208. package/dist/types/wallets/smart/smart-wallet.d.ts.map +1 -1
  209. package/package.json +1 -1
  210. package/src/adapters/wallet-adapter.ts +12 -1
  211. package/src/cli/bin.ts +18 -0
  212. package/src/exports/react.ts +4 -0
  213. package/src/exports/wallets/in-app.ts +6 -0
  214. package/src/exports/wallets.native.ts +8 -1
  215. package/src/exports/wallets.ts +13 -1
  216. package/src/extensions/marketplace/direct-listings/write/createListing.ts +5 -1
  217. package/src/pay/buyWithCrypto/getStatus.ts +2 -1
  218. package/src/react/core/hooks/wallets/useActiveAccount.ts +2 -2
  219. package/src/react/core/hooks/wallets/useActiveWallet.ts +2 -2
  220. package/src/react/core/hooks/wallets/useActiveWalletChain.ts +2 -2
  221. package/src/react/core/hooks/wallets/useActiveWalletConnectionStatus.ts +2 -2
  222. package/src/react/core/hooks/wallets/useAutoConnect.ts +5 -3
  223. package/src/react/core/hooks/wallets/useConnect.ts +2 -2
  224. package/src/react/core/hooks/wallets/useConnectedWallets.ts +2 -2
  225. package/src/react/core/hooks/wallets/useDisconnect.ts +2 -2
  226. package/src/react/core/hooks/wallets/useIsAutoConnecting.ts +2 -2
  227. package/src/react/core/hooks/wallets/useSetActiveWallet.ts +2 -2
  228. package/src/react/core/hooks/wallets/useSetActiveWalletConnectionStatus.ts +2 -2
  229. package/src/react/core/hooks/wallets/useSwitchActiveWalletChain.ts +2 -2
  230. package/src/react/core/providers/connection-manager.tsx +15 -2
  231. package/src/react/web/ui/AutoConnect/AutoConnect.tsx +5 -0
  232. package/src/react/web/ui/ConnectWallet/ConnectButton.tsx +196 -2
  233. package/src/react/web/ui/ConnectWallet/Modal/ConnectEmbed.tsx +109 -3
  234. package/src/react/web/ui/ConnectWallet/locale/de.ts +117 -0
  235. package/src/react/web/ui/ConnectWallet/locale/getConnectLocale.ts +3 -0
  236. package/src/react/web/ui/prebuilt/thirdweb/ClaimButton/index.tsx +2 -0
  237. package/src/react/web/ui/prebuilt/thirdweb/CreateDirectListingButton/CreateDirectListingButton.test.tsx +29 -0
  238. package/src/react/web/ui/prebuilt/thirdweb/CreateDirectListingButton/index.tsx +165 -0
  239. package/src/react/web/ui/types.ts +7 -1
  240. package/src/react/web/wallets/injected/locale/de.ts +27 -0
  241. package/src/react/web/wallets/injected/locale/getInjectedWalletLocale.ts +2 -0
  242. package/src/react/web/wallets/shared/ConnectWalletSocialOptions.tsx +19 -8
  243. package/src/react/web/wallets/shared/locale/de.ts +58 -0
  244. package/src/react/web/wallets/shared/locale/getConnectLocale.ts +2 -0
  245. package/src/react/web/wallets/smartWallet/locale/de.ts +13 -0
  246. package/src/react/web/wallets/smartWallet/locale/getSmartWalletLocale.ts +2 -0
  247. package/src/react/web/wallets/walletConnect/locale.ts +4 -0
  248. package/src/version.ts +1 -1
  249. package/src/wallets/create-wallet.ts +73 -0
  250. package/src/wallets/ecosystem/types.ts +9 -5
  251. package/src/wallets/in-app/web/ecosystem.ts +29 -3
  252. package/src/wallets/in-app/web/in-app.ts +100 -5
  253. package/src/wallets/smart/smart-wallet.ts +71 -5
@@ -1,5 +1,5 @@
1
1
  import { useSyncExternalStore } from "react";
2
- import { useConnectionManager } from "../../providers/connection-manager.js";
2
+ import { useConnectionManagerCtx } from "../../providers/connection-manager.js";
3
3
 
4
4
  /**
5
5
  * A hook that returns the chain the active wallet is connected to
@@ -13,7 +13,7 @@ import { useConnectionManager } from "../../providers/connection-manager.js";
13
13
  * @walletConnection
14
14
  */
15
15
  export function useActiveWalletChain() {
16
- const manager = useConnectionManager();
16
+ const manager = useConnectionManagerCtx("useActiveWalletChain");
17
17
  const store = manager.activeWalletChainStore;
18
18
  return useSyncExternalStore(store.subscribe, store.getValue, store.getValue);
19
19
  }
@@ -1,5 +1,5 @@
1
1
  import { useSyncExternalStore } from "react";
2
- import { useConnectionManager } from "../../providers/connection-manager.js";
2
+ import { useConnectionManagerCtx } from "../../providers/connection-manager.js";
3
3
 
4
4
  /**
5
5
  * A hook that returns the active account's connection status.
@@ -17,7 +17,7 @@ import { useConnectionManager } from "../../providers/connection-manager.js";
17
17
  * @walletConnection
18
18
  */
19
19
  export function useActiveWalletConnectionStatus() {
20
- const manager = useConnectionManager();
20
+ const manager = useConnectionManagerCtx("useActiveWalletConnectionStatus");
21
21
  const store = manager.activeWalletConnectionStatusStore;
22
22
  return useSyncExternalStore(store.subscribe, store.getValue, store.getValue);
23
23
  }
@@ -1,5 +1,6 @@
1
1
  import { useQuery } from "@tanstack/react-query";
2
2
  import type { AsyncStorage } from "../../../../utils/storage/AsyncStorage.js";
3
+ import { createWallet } from "../../../../wallets/create-wallet.js";
3
4
  import { getUrlToken } from "../../../../wallets/in-app/web/lib/get-url-token.js";
4
5
  import type { Wallet } from "../../../../wallets/interfaces/wallet.js";
5
6
  import {
@@ -7,7 +8,7 @@ import {
7
8
  getStoredActiveWalletId,
8
9
  getStoredConnectedWalletIds,
9
10
  } from "../../../../wallets/manager/index.js";
10
- import { useConnectionManager } from "../../providers/connection-manager.js";
11
+ import { useConnectionManagerCtx } from "../../providers/connection-manager.js";
11
12
  import { setLastAuthProvider } from "../../utils/storage.js";
12
13
  import { timeoutPromise } from "../../utils/timeoutPromise.js";
13
14
  import type { AutoConnectProps } from "../connection/types.js";
@@ -19,7 +20,7 @@ export function useAutoConnectCore(
19
20
  props: AutoConnectProps & { wallets: Wallet[] },
20
21
  getInstalledWallets?: () => Wallet[],
21
22
  ) {
22
- const manager = useConnectionManager();
23
+ const manager = useConnectionManagerCtx("useAutoConnect");
23
24
  const setConnectionStatus = useSetActiveWalletConnectionStatus();
24
25
  const { connect } = useConnect({
25
26
  client: props.client,
@@ -68,7 +69,8 @@ export function useAutoConnectCore(
68
69
  const availableWallets = [...wallets, ...(getInstalledWallets?.() ?? [])];
69
70
  const activeWallet =
70
71
  lastActiveWalletId &&
71
- availableWallets.find((w) => w.id === lastActiveWalletId);
72
+ (availableWallets.find((w) => w.id === lastActiveWalletId) ||
73
+ createWallet(lastActiveWalletId));
72
74
 
73
75
  if (activeWallet) {
74
76
  try {
@@ -1,7 +1,7 @@
1
1
  import { useCallback, useState } from "react";
2
2
  import type { Wallet } from "../../../../wallets/interfaces/wallet.js";
3
3
  import type { ConnectManagerOptions } from "../../../../wallets/manager/index.js";
4
- import { useConnectionManager } from "../../providers/connection-manager.js";
4
+ import { useConnectionManagerCtx } from "../../providers/connection-manager.js";
5
5
 
6
6
  /**
7
7
  * A hook to set a wallet as active wallet
@@ -34,7 +34,7 @@ import { useConnectionManager } from "../../providers/connection-manager.js";
34
34
  * @walletConnection
35
35
  */
36
36
  export function useConnect(options?: ConnectManagerOptions) {
37
- const manager = useConnectionManager();
37
+ const manager = useConnectionManagerCtx("useConnect");
38
38
  const { connect } = manager;
39
39
  const [isConnecting, setIsConnecting] = useState(false);
40
40
  const [error, setError] = useState<Error | null>(null);
@@ -1,5 +1,5 @@
1
1
  import { useSyncExternalStore } from "react";
2
- import { useConnectionManager } from "../../providers/connection-manager.js";
2
+ import { useConnectionManagerCtx } from "../../providers/connection-manager.js";
3
3
 
4
4
  /**
5
5
  * A hook that returns all connected wallets
@@ -13,7 +13,7 @@ import { useConnectionManager } from "../../providers/connection-manager.js";
13
13
  * @walletConnection
14
14
  */
15
15
  export function useConnectedWallets() {
16
- const manager = useConnectionManager();
16
+ const manager = useConnectionManagerCtx("useConnectedWallets");
17
17
  const store = manager.connectedWallets;
18
18
  return useSyncExternalStore(store.subscribe, store.getValue, store.getValue);
19
19
  }
@@ -1,4 +1,4 @@
1
- import { useConnectionManager } from "../../providers/connection-manager.js";
1
+ import { useConnectionManagerCtx } from "../../providers/connection-manager.js";
2
2
 
3
3
  /**
4
4
  * Disconnect from given account
@@ -21,7 +21,7 @@ import { useConnectionManager } from "../../providers/connection-manager.js";
21
21
  * @returns An object with a function to disconnect an account
22
22
  */
23
23
  export function useDisconnect() {
24
- const manager = useConnectionManager();
24
+ const manager = useConnectionManagerCtx("useDisconnect");
25
25
  const disconnect = manager.disconnectWallet;
26
26
  return { disconnect };
27
27
  }
@@ -1,5 +1,5 @@
1
1
  import { useSyncExternalStore } from "react";
2
- import { useConnectionManager } from "../../providers/connection-manager.js";
2
+ import { useConnectionManagerCtx } from "../../providers/connection-manager.js";
3
3
 
4
4
  /**
5
5
  * A hook to check if the auto connect is in progress.
@@ -15,7 +15,7 @@ import { useConnectionManager } from "../../providers/connection-manager.js";
15
15
  * @walletConnection
16
16
  */
17
17
  export function useIsAutoConnecting() {
18
- const manager = useConnectionManager();
18
+ const manager = useConnectionManagerCtx("useIsAutoConnecting");
19
19
  const store = manager.isAutoConnecting;
20
20
  return useSyncExternalStore(store.subscribe, store.getValue, store.getValue);
21
21
  }
@@ -1,4 +1,4 @@
1
- import { useConnectionManager } from "../../providers/connection-manager.js";
1
+ import { useConnectionManagerCtx } from "../../providers/connection-manager.js";
2
2
 
3
3
  /**
4
4
  * A hook that lets you set the active wallet.
@@ -15,6 +15,6 @@ import { useConnectionManager } from "../../providers/connection-manager.js";
15
15
  * @walletConnection
16
16
  */
17
17
  export function useSetActiveWallet() {
18
- const manager = useConnectionManager();
18
+ const manager = useConnectionManagerCtx("useSetActiveWallet");
19
19
  return manager.setActiveWallet;
20
20
  }
@@ -1,4 +1,4 @@
1
- import { useConnectionManager } from "../../providers/connection-manager.js";
1
+ import { useConnectionManagerCtx } from "../../providers/connection-manager.js";
2
2
 
3
3
  /**
4
4
  * A hook that returns the active wallet's connection status.
@@ -15,6 +15,6 @@ import { useConnectionManager } from "../../providers/connection-manager.js";
15
15
  * @internal
16
16
  */
17
17
  export function useSetActiveWalletConnectionStatus() {
18
- const manager = useConnectionManager();
18
+ const manager = useConnectionManagerCtx("useSetActiveWalletConnectionStatus");
19
19
  return manager.activeWalletConnectionStatusStore.setValue;
20
20
  }
@@ -1,4 +1,4 @@
1
- import { useConnectionManager } from "../../providers/connection-manager.js";
1
+ import { useConnectionManagerCtx } from "../../providers/connection-manager.js";
2
2
 
3
3
  /**
4
4
  * Switch to blockchain with given chain id in the active wallet.
@@ -16,6 +16,6 @@ import { useConnectionManager } from "../../providers/connection-manager.js";
16
16
  * @walletConnection
17
17
  */
18
18
  export function useSwitchActiveWalletChain() {
19
- const manager = useConnectionManager();
19
+ const manager = useConnectionManagerCtx("useSwitchActiveWalletChain");
20
20
  return manager.switchActiveWalletChain;
21
21
  }
@@ -6,11 +6,24 @@ export const ConnectionManagerCtx = createContext<
6
6
  >(undefined);
7
7
 
8
8
  export function useConnectionManager() {
9
- const connectionManager = useContext(ConnectionManagerCtx);
9
+ const connectionManager = useConnectionManagerCtx("useConnectionManager");
10
10
  if (!connectionManager) {
11
11
  throw new Error(
12
- "useConnectionManager must be used within a ConnectionManager Provider",
12
+ "useConnectionManager must be used within a <ThirdwebProvider> Provider",
13
13
  );
14
14
  }
15
15
  return connectionManager;
16
16
  }
17
+
18
+ /**
19
+ * Use this instead of `useConnectionManager` to throw a more specific error message when used outside of a provider.
20
+ * @internal
21
+ */
22
+ export function useConnectionManagerCtx(hookname: string) {
23
+ const manager = useContext(ConnectionManagerCtx);
24
+ if (!manager) {
25
+ throw new Error(`${hookname} must be used within <ThirdwebProvider>`);
26
+ }
27
+
28
+ return manager;
29
+ }
@@ -9,6 +9,11 @@ import { useAutoConnect } from "../../hooks/wallets/useAutoConnect.js";
9
9
  * Note: If you are using `ConnectButton` or `ConnectEmbed` components, You don't need to use this component as it is already included.
10
10
  *
11
11
  * This is useful if you are manually connecting the wallets using the [`useConnect`](https://portal.thirdweb.com/references/typescript/v5/useConnect) hook and want to auto connect the last connected wallets on page reload or revisit.
12
+ *
13
+ * You can also use the [`useAutoConnect`](https://portal.thirdweb.com/references/typescript/v5/useAutoConnect) hook to achieve the same result.
14
+ *
15
+ * To check if the wallet in in the process of auto connecting, you can use the [`useIsAutoConnecting`](https://portal.thirdweb.com/references/typescript/v5/useIsAutoConnecting) hook.
16
+ *
12
17
  * @param props - Object of type `AutoConnectProps`. Refer to [`AutoConnectProps`](https://portal.thirdweb.com/references/typescript/v5/AutoConnectProps)
13
18
  * @example
14
19
  * ```tsx
@@ -33,18 +33,212 @@ import { SignatureScreen } from "./screens/SignatureScreen.js";
33
33
  const TW_CONNECT_WALLET = "tw-connect-wallet";
34
34
 
35
35
  /**
36
- * A component that allows the user to connect their wallet.
37
- * It renders a button which when clicked opens a modal to allow users to connect to wallets specified in `wallets` prop.
36
+ * A fully featured wallet connection component that allows to:
37
+ *
38
+ * - Connect to 350+ external wallets
39
+ * - Connect with email, phone, passkey or socials
40
+ * - Convert any wallet to a ERC4337 smart wallet for gasless transactions
41
+ * - Sign in with ethereum (Auth)
42
+ *
43
+ * Once connected, the component allows to:
44
+ *
45
+ * - Reolve ENS names and avatars
46
+ * - Manage multipple connected wallets
47
+ * - Send and receive native tokens and ERC20 tokens
48
+ * - View ERC20 tokens and NFTs
49
+ * - Onramp, bridge and swap tokens
50
+ * - Switch chains
51
+ * - Connect to another app with WalletConnect
52
+ *
38
53
  * @example
54
+ *
55
+ * ## Default setup
56
+ *
39
57
  * ```tsx
58
+ * import { createThirdwebClient } from "thirdweb";
59
+ * import { ConnectButton } from "thirdweb/react";
60
+ *
61
+ * const client = createThirdwebClient({ clientId: "YOUR_CLIENT_ID" });
62
+ *
40
63
  * <ConnectButton
41
64
  * client={client}
42
65
  * />
43
66
  * ```
67
+ *
68
+ * [View all available config options](https://portal.thirdweb.com/references/typescript/v5/ConnectButtonProps)
69
+ *
70
+ * ## Customization options
71
+ *
72
+ * ### Customizing wallet options
73
+ *
74
+ * ```tsx
75
+ * <ConnectButton
76
+ * client={client}
77
+ * wallets={[
78
+ * createWallet("io.metamask"),
79
+ * createWallet("com.coinbase.wallet"),
80
+ * createWallet("me.rainbow"),
81
+ * ]}
82
+ * />
83
+ * ```
84
+ *
85
+ * [View all available wallets](https://portal.thirdweb.com/typescript/v5/supported-wallets)
86
+ *
87
+ * ### Customizing the default chain to connect to
88
+ *
89
+ * ```tsx
90
+ * import { base } from "thirdweb/chains";
91
+ *
92
+ * <ConnectButton
93
+ * client={client}
94
+ * chain={base}
95
+ * />
96
+ * ```
97
+ *
98
+ * ### Enabling sign in with ethereum (Auth)
99
+ *
100
+ * ```tsx
101
+ * <ConnectButton
102
+ * client={client}
103
+ * auth={{
104
+ * isLoggedIn: async (address) => {
105
+ * console.log("checking if logged in!", { address });
106
+ * return await isLoggedIn();
107
+ * },
108
+ * doLogin: async (params) => {
109
+ * console.log("logging in!");
110
+ * await login(params);
111
+ * },
112
+ * getLoginPayload: async ({ address }) =>
113
+ * generatePayload({ address }),
114
+ * doLogout: async () => {
115
+ * console.log("logging out!");
116
+ * await logout();
117
+ * },
118
+ * }}
119
+ * />;
120
+ * ```
121
+ *
122
+ * ### Customizing the theme
123
+ *
124
+ * ```tsx
125
+ * <ConnectButton
126
+ * client={client}
127
+ * theme="light"
128
+ * />
129
+ * ```
130
+ *
131
+ * For more granular control, you can also pass a custom theme object:
132
+ *
133
+ * ```tsx
134
+ * <ConnectButton
135
+ * client={client}
136
+ * theme={lightTheme({
137
+ * colors: {
138
+ * modalBg: "red",
139
+ * },
140
+ * })}
141
+ * />
142
+ * ```
143
+ *
144
+ * [View all available themes properties](https://portal.thirdweb.com/references/typescript/v5/Theme)
145
+ *
146
+ * ### Changing the display language
147
+ *
148
+ * ```tsx
149
+ * <ConnectEmbed
150
+ * client={client}
151
+ * locale="ja_JP"
152
+ * />
153
+ * ```
154
+ *
155
+ * [View all available locales](https://portal.thirdweb.com/references/typescript/v5/LocaleId)
156
+ *
157
+ * ### Customizing the connect button UI
158
+ *
159
+ * ```tsx
160
+ * <ConnectButton
161
+ * client={client}
162
+ * connectButton={{
163
+ * label: "Sign in to MyApp",
164
+ * }}
165
+ * />
166
+ * ```
167
+ *
168
+ * ### Customizing the modal UI
169
+ *
170
+ * ```tsx
171
+ * <ConnectButton
172
+ * client={client}
173
+ * connectModal={{
174
+ * title: "Sign in to MyApp",
175
+ * titleIcon: https://example.com/logo.png,
176
+ * size: "compact",
177
+ * }}
178
+ * />
179
+ * ```
180
+ *
181
+ * ### Customizing details button UI (after connecting)
182
+ *
183
+ * ```tsx
184
+ * <ConnectButton
185
+ * client={client}
186
+ * detailsButton={{
187
+ * displayBalanceToken: {
188
+ * [sepolia.id]: "0x...", // token address to display balance for
189
+ * [ethereum.id]: "0x...", // token address to display balance for
190
+ * },
191
+ * }}
192
+ * />
193
+ * ```
194
+ *
195
+ * [View all available auth helper functions](https://portal.thirdweb.com/references/typescript/v5/createAuth)
196
+ *
197
+ * ### Customizing the Auth sign in button (after connecting, but before authenticating)
198
+ *
199
+ * ```tsx
200
+ * <ConnectButton
201
+ * client={client}
202
+ * auth={{ ... }}
203
+ * signInButton: {
204
+ * label: "Authenticate with MyApp",
205
+ * },
206
+ * }}
207
+ * />;
208
+ * ```
209
+ *
210
+ * ### Customizing supported Tokens and NFTs
211
+ *
212
+ * These tokens and NFTs will be shown in the modal when the user clicks "View Assets", as well as the send token screen.
213
+ *
214
+ * ```tsx
215
+ * <ConnectButton
216
+ * client={client}
217
+ * supportedTokens={{
218
+ * [ethereum.id]: [
219
+ * {
220
+ * address: "0x...",
221
+ * name: "MyToken",
222
+ * symbol: "MT",
223
+ * icon: "https://example.com/icon.png",
224
+ * },
225
+ * ],
226
+ * }}
227
+ * supportedNFTs={{
228
+ * [ethereum.id]: [
229
+ * "0x...", // nft contract address
230
+ * ],
231
+ * }}
232
+ * />
233
+ * ```
234
+ *
44
235
  * @param props
45
236
  * Props for the `ConnectButton` component
46
237
  *
47
238
  * Refer to [ConnectButtonProps](https://portal.thirdweb.com/references/typescript/v5/ConnectButtonProps) to see the available props.
239
+ *
240
+ * @returns A JSX element that renders the <ConnectButton> component.
241
+ *
48
242
  * @component
49
243
  */
50
244
  export function ConnectButton(props: ConnectButtonProps) {
@@ -40,21 +40,127 @@ import { ConnectModalContent } from "./ConnectModalContent.js";
40
40
  import { useSetupScreen } from "./screen.js";
41
41
 
42
42
  /**
43
- * A component that allows the user to connect their wallet.
43
+ * An inline wallet connection component that allows to:
44
44
  *
45
- * it renders the same UI as the [`ConnectButton`](https://portal.thirdweb.com/react/v4/components/ConnectButton) component's modal - but directly on the page instead of being in a modal.
45
+ * - Connect to 350+ external wallets
46
+ * - Connect with email, phone, passkey or socials
47
+ * - Convert any wallet to a ERC4337 smart wallet for gasless transactions
48
+ * - Sign in with ethereum (Auth)
49
+ *
50
+ * It renders the same UI as the [`ConnectButton`](https://portal.thirdweb.com/react/v5/ConnectButton) component's modal - but directly inline in the page instead of being in a modal.
51
+ *
52
+ * Once connected, the component does not render any UI. It only renders UI if wallet is not connected.
46
53
  *
47
- * It only renders UI if wallet is not connected
48
54
  * @example
55
+ *
56
+ * ## Default setup
57
+ *
49
58
  * ```tsx
59
+ * import { createThirdwebClient } from "thirdweb";
60
+ * import { ConnectEmbed } from "thirdweb/react";
61
+ *
62
+ * const client = createThirdwebClient({ clientId: "YOUR_CLIENT_ID" });
63
+ *
50
64
  * <ConnectEmbed
51
65
  * client={client}
52
66
  * />
53
67
  * ```
68
+ *
69
+ * [View all available config options](https://portal.thirdweb.com/references/typescript/v5/ConnectEmbedProps)
70
+ *
71
+ * ## Customization options
72
+ *
73
+ * ### Customizing wallet options
74
+ *
75
+ * ```tsx
76
+ * <ConnectEmbed
77
+ * client={client}
78
+ * wallets={[
79
+ * createWallet("io.metamask"),
80
+ * createWallet("com.coinbase.wallet"),
81
+ * createWallet("me.rainbow"),
82
+ * ]}
83
+ * />
84
+ * ```
85
+ *
86
+ * [View all available wallets](https://portal.thirdweb.com/typescript/v5/supported-wallets)
87
+ *
88
+ * ### Customizing the default chain to connect to
89
+ *
90
+ * ```tsx
91
+ * import { base } from "thirdweb/chains";
92
+ *
93
+ * <ConnectEmbed
94
+ * client={client}
95
+ * chain={base}
96
+ * />
97
+ * ```
98
+ *
99
+ * ### Enabling sign in with ethereum (Auth)
100
+ *
101
+ * ```tsx
102
+ * <ConnectEmbed
103
+ * client={client}
104
+ * auth={{
105
+ * isLoggedIn: async (address) => {
106
+ * console.log("checking if logged in!", { address });
107
+ * return await isLoggedIn();
108
+ * },
109
+ * doLogin: async (params) => {
110
+ * console.log("logging in!");
111
+ * await login(params);
112
+ * },
113
+ * getLoginPayload: async ({ address }) =>
114
+ * generatePayload({ address }),
115
+ * doLogout: async () => {
116
+ * console.log("logging out!");
117
+ * await logout();
118
+ * },
119
+ * }}
120
+ * />;
121
+ * ```
122
+ *
123
+ * ### Customizing the theme
124
+ *
125
+ * ```tsx
126
+ * <ConnectEmbed
127
+ * client={client}
128
+ * theme="light"
129
+ * />
130
+ * ```
131
+ *
132
+ * For more granular control, you can also pass a custom theme object:
133
+ *
134
+ * ```tsx
135
+ * <ConnectEmbed
136
+ * client={client}
137
+ * theme={lightTheme({
138
+ * colors: {
139
+ * modalBg: "red",
140
+ * },
141
+ * })}
142
+ * />
143
+ * ```
144
+ *
145
+ * [View all available themes properties](https://portal.thirdweb.com/references/typescript/v5/Theme)
146
+ *
147
+ * ### Changing the display language
148
+ *
149
+ * ```tsx
150
+ * <ConnectEmbed
151
+ * client={client}
152
+ * locale="ja_JP"
153
+ * />
154
+ * ```
155
+ *
156
+ * [View all available locales](https://portal.thirdweb.com/references/typescript/v5/LocaleId)
157
+ *
54
158
  * @param props -
55
159
  * The props for the `ConnectEmbed` component.
56
160
  *
57
161
  * Refer to the [`ConnectEmbedProps`](https://portal.thirdweb.com/references/typescript/v5/ConnectEmbedProps) type for more details
162
+ *
163
+ * @returns A JSX element that renders the <ConnectEmbed> component.
58
164
  * @component
59
165
  */
60
166
  export function ConnectEmbed(props: ConnectEmbedProps) {
@@ -0,0 +1,117 @@
1
+ import type { ConnectLocale } from "./types.js";
2
+
3
+ const connectLocaleDe: ConnectLocale = {
4
+ id: "de_DE",
5
+ signIn: "Anmelden",
6
+ defaultButtonTitle: "Wallet verbinden",
7
+ connecting: "Anmelden",
8
+ switchNetwork: "Netzwerk wechseln",
9
+ switchingNetwork: "Netzwerk wechseln",
10
+ defaultModalTitle: "Anmelden",
11
+ recommended: "Empfohlen",
12
+ installed: "Installiert",
13
+ buy: "Kaufen",
14
+ continueAsGuest: "Als Gast fortfahren",
15
+ connectAWallet: "Wallet verbinden",
16
+ newToWallets: `Was ist ein "Wallet"?`,
17
+ getStarted: "Loslegen",
18
+ guest: "Gast",
19
+ send: "Senden",
20
+ receive: "Empfangen",
21
+ currentNetwork: "Aktuelles Netzwerk",
22
+ switchAccount: "Account wechseln",
23
+ requestTestnetFunds: "Testnetz-Geld anfordern",
24
+ transactions: "Transaktionen",
25
+ payTransactions: "Fiat Transaktionen",
26
+ walletTransactions: "Wallet Transaktionen",
27
+ viewAllTransactions: "Alle Transaktionen anzeigen",
28
+ backupWallet: "Wallet sichern",
29
+ guestWalletWarning:
30
+ "Dies ist ein temporäres Gast-Wallet. Sichere das Wallet, wenn du den Zugriff darauf nicht verlieren möchtest",
31
+ switchTo: "Wechsle zu", // Used in "Switch to <Wallet-Name>"
32
+ connectedToSmartWallet: "Smart Account",
33
+ confirmInWallet: "Im Wallet bestätigen",
34
+ disconnectWallet: "Wallet trennen",
35
+ copyAddress: "Adresse kopieren",
36
+ personalWallet: "Persönliches Wallet",
37
+ smartWallet: "Smart Wallet",
38
+ or: "Oder",
39
+ goBackButton: "Zurück",
40
+ welcomeScreen: {
41
+ defaultTitle: "Dein Tor zur dezentralen Welt",
42
+ defaultSubtitle: "Verbinde ein Wallet, um loszulegen",
43
+ },
44
+ agreement: {
45
+ prefix: "Durch die Verbindung stimmst du diesen zu:",
46
+ termsOfService: "Nutzungsbedingungen",
47
+ and: "&",
48
+ privacyPolicy: "Datenschutzrichtlinien",
49
+ },
50
+ networkSelector: {
51
+ title: "Netzwerk auswählen",
52
+ mainnets: "Mainnets",
53
+ testnets: "Testnets",
54
+ allNetworks: "Alle",
55
+ addCustomNetwork: "Eigenes Netzwerk hinzufügen",
56
+ inputPlaceholder: "Netzwerk oder Chain ID suchen",
57
+ categoryLabel: {
58
+ recentlyUsed: "Zuletzt verwendet",
59
+ popular: "Beliebt",
60
+ others: "Alle Netzwerke",
61
+ },
62
+ loading: "Laden",
63
+ failedToSwitch: "Netzwerkwechsel fehlgeschlagen",
64
+ },
65
+ receiveFundsScreen: {
66
+ title: "Geld empfangen",
67
+ instruction:
68
+ "Kopiere die Wallet-Adresse, um Geld an dieses Wallet zu senden",
69
+ },
70
+ sendFundsScreen: {
71
+ title: "Geld senden",
72
+ submitButton: "Senden",
73
+ token: "Token",
74
+ sendTo: "Senden an",
75
+ amount: "Betrag",
76
+ successMessage: "Transaktion erfolgreich",
77
+ invalidAddress: "Ungültige Adresse",
78
+ noTokensFound: "Keine Token gefunden",
79
+ searchToken: "Token suchen oder einfügen",
80
+ transactionFailed: "Transaktion fehlgeschlagen",
81
+ transactionRejected: "Transaktion abgelehnt",
82
+ insufficientFunds: "Nicht genügend Guthaben",
83
+ selectTokenTitle: "Token auswählen",
84
+ sending: "Sende",
85
+ },
86
+ signatureScreen: {
87
+ instructionScreen: {
88
+ title: "Anmelden",
89
+ instruction: "Signiere die Anmeldeanfrage in deinem Wallet",
90
+ signInButton: "Anmelden",
91
+ disconnectWallet: "Wallet trennen",
92
+ },
93
+ signingScreen: {
94
+ title: "Signaturanfrage",
95
+ prompt: "Signiere die Signaturanfrage in deinem Wallet",
96
+ promptForSafe:
97
+ "Signiere die Signaturanfrage in deinem Wallet, um fortzufahren",
98
+ approveTransactionInSafe: "Transaktion im Safe bestätigen",
99
+ tryAgain: "Erneut versuchen",
100
+ failedToSignIn: "Anmeldung fehlgeschlagen",
101
+ inProgress: "Warte auf Bestätigung",
102
+ },
103
+ },
104
+ manageWallet: {
105
+ title: "Wallet verwalten",
106
+ connectAnApp: "App verbinden",
107
+ exportPrivateKey: "PrivateKey exportieren",
108
+ },
109
+ viewFunds: {
110
+ title: "Guthaben anzeigen",
111
+ viewNFTs: "NFTs anzeigen",
112
+ viewTokens: "Tokens anzeigen",
113
+ viewAssets: "Assets anzeigen",
114
+ },
115
+ };
116
+
117
+ export default connectLocaleDe;