diff --git a/docs.json b/docs.json index cc1416198..082b694e4 100644 --- a/docs.json +++ b/docs.json @@ -114,6 +114,7 @@ "group": "TON Connect", "pages": [ "ecosystem/ton-connect/overview", + "ecosystem/ton-connect/wallet-connect", "ecosystem/ton-connect/dapp", "ecosystem/ton-connect/wallet", "ecosystem/ton-connect/manifest", diff --git a/ecosystem/ton-connect/wallet-connect.mdx b/ecosystem/ton-connect/wallet-connect.mdx new file mode 100644 index 000000000..ff6d704e8 --- /dev/null +++ b/ecosystem/ton-connect/wallet-connect.mdx @@ -0,0 +1,54 @@ +--- +title: "WalletConnect support" +sidebarTitle: "WalletConnect support" +--- + +import { Aside } from '/snippets/aside.jsx'; +import { Image } from '/snippets/image.jsx'; + +[WalletConnect](https://walletconnect.network) support exists for large custodial and institutional integrators, such as [Fireblocks](https://www.fireblocks.com), that require WalletConnect compatibility for interacting with DeFi applications on TON. + +
+ WalletConnect +
+ + + +## Limitations + +Due to Telegram policies, WalletConnect is not supported in applications within, such as [Telegram Mini Apps](/ecosystem/tma/overview). + +If required, use [TON Connect](/ecosystem/ton-connect/overview) instead. + +## How to integrate + +1. Enable it explicitly in the application using `initializeWalletConnect()`. +1. Get a WalletConnect project ID at [`dashboard.reown.com`](https://dashboard.reown.com). + +Example: + +```typescript +import { initializeWalletConnect } from '@tonconnect/sdk'; +import { UniversalConnector } from '@reown/appkit-universal-connector'; + +initializeWalletConnect(UniversalConnector, { + projectId: 'YOUR_PROJECT_ID', + metadata: { + name: 'My DApp', + description: 'Example DApp', + url: 'https://mydapp.com', + icons: ['https://mydapp.com/icon.png'] + } +}); +``` diff --git a/resources/images/ton-connect/wallet-connect.png b/resources/images/ton-connect/wallet-connect.png new file mode 100644 index 000000000..2f2d9ea7e Binary files /dev/null and b/resources/images/ton-connect/wallet-connect.png differ