You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/build/sdks/wallet-adapter/x-chain-accounts.mdx
+67-7Lines changed: 67 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,6 @@ The computation of the DAA address is done using the `authenticationFunction` an
38
38
39
39
### How to integrate x-chain accounts in my dApp?
40
40
41
-
Currently, the adapter supports Solana and EVM chains
42
-
43
41
<Asidetype="note">
44
42
It is highly recommended to use the `@aptos-labs/wallet-adapter-react` package for the best experience. Make sure you integrate with the Aptos Wallet Adapter by following these [steps](/build/sdks/wallet-adapter/dapp)
45
43
</Aside>
@@ -89,10 +87,10 @@ Currently, the adapter supports Solana and EVM chains
89
87
}}
90
88
>
91
89
{children}
92
-
<AptosWalletAdapterProvider/>
90
+
</AptosWalletAdapterProvider>
93
91
```
94
92
95
-
3. Set crossChainWallets dapp config prop to true fot the AptosWalletAdapterProvider
93
+
3. Set crossChainWallets dapp config prop to true for the AptosWalletAdapterProvider
96
94
97
95
```tsx filename="WalletProvider.tsx"
98
96
<AptosWalletAdapterProvider
@@ -102,7 +100,7 @@ Currently, the adapter supports Solana and EVM chains
102
100
}}
103
101
>
104
102
{children}
105
-
<AptosWalletAdapterProvider/>
103
+
</AptosWalletAdapterProvider>
106
104
```
107
105
</Steps>
108
106
</TabItem>
@@ -149,7 +147,69 @@ Currently, the adapter supports Solana and EVM chains
149
147
}}
150
148
>
151
149
{children}
152
-
<AptosWalletAdapterProvider/>
150
+
</AptosWalletAdapterProvider>
151
+
```
152
+
153
+
3. Set crossChainWallets dapp config prop to true fot the AptosWalletAdapterProvider
154
+
155
+
```tsx filename="WalletProvider.tsx"
156
+
<AptosWalletAdapterProvider
157
+
dappConfig={{
158
+
network: Network.TESTNET,
159
+
crossChainWallets: true,
160
+
}}
161
+
>
162
+
{children}
163
+
</AptosWalletAdapterProvider>
164
+
```
165
+
</Steps>
166
+
</TabItem>
167
+
168
+
{/* Sui */}
169
+
170
+
<TabItemlabel="Sui">
171
+
The wallet adapter follows the [Sui Wallet Standard](https://docs.sui.io/standards/wallet-standard) to discover wallets.
172
+
Currently, the wallets that have been tested and support cross-chain accounts are:
Copy file name to clipboardExpand all lines: src/content/docs/es/build/sdks/wallet-adapter/x-chain-accounts.mdx
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,6 @@ El cálculo de la dirección DAA se hace usando la `authenticationFunction` y la
39
39
40
40
### ¿Cómo integrar cuentas x-chain en mi dApp?
41
41
42
-
Actualmente, el adaptador soporta cadenas Solana y EVM
43
-
44
42
<Asidetype="note">
45
43
Se recomienda altamente usar el paquete `@aptos-labs/wallet-adapter-react` para la mejor experiencia. Asegúrate de integrar con el Adaptador de Wallet de Aptos siguiendo estos [pasos](/es/build/sdks/wallet-adapter/dapp)
46
44
</Aside>
@@ -86,7 +84,7 @@ Actualmente, el adaptador soporta cadenas Solana y EVM
86
84
}}
87
85
>
88
86
{children}
89
-
<AptosWalletAdapterProvider/>
87
+
</AptosWalletAdapterProvider>
90
88
```
91
89
92
90
3. Establecer la prop crossChainWallets dapp config a true para el AptosWalletAdapterProvider
@@ -99,7 +97,7 @@ Actualmente, el adaptador soporta cadenas Solana y EVM
99
97
}}
100
98
>
101
99
{children}
102
-
<AptosWalletAdapterProvider/>
100
+
</AptosWalletAdapterProvider>
103
101
```
104
102
</Steps>
105
103
</TabItem>
@@ -146,7 +144,7 @@ Actualmente, el adaptador soporta cadenas Solana y EVM
146
144
}}
147
145
>
148
146
{children}
149
-
<AptosWalletAdapterProvider/>
147
+
</AptosWalletAdapterProvider>
150
148
```
151
149
152
150
3. Set crossChainWallets dapp config prop to true fot the AptosWalletAdapterProvider
@@ -159,7 +157,7 @@ Actualmente, el adaptador soporta cadenas Solana y EVM
0 commit comments