@@ -86,7 +86,7 @@ import { setupAutomaticSolanaWalletDerivation } from "@aptos-labs/derived-wallet
8686
8787setupAutomaticSolanaWalletDerivation ({ defaultNetwork: Network .TESTNET }); // this is the Aptos network your dapp is working with
8888
89- ... ..
89+ ...
9090
9191<AptosWalletAdapterProvider
9292 dappConfig = { {
@@ -96,6 +96,19 @@ setupAutomaticSolanaWalletDerivation({ defaultNetwork: Network.TESTNET }); // th
9696 { children }
9797<AptosWalletAdapterProvider />
9898```
99+
100+ ### Set `crossChainWallets` dapp config prop to `true` fot the `AptosWalletAdapterProvider`
101+
102+ ```tsx filename="WalletProvider.tsx"
103+ <AptosWalletAdapterProvider
104+ dappConfig = { {
105+ network: Network .TESTNET ,
106+ crossChainWallets: true ,
107+ }}
108+ >
109+ { children }
110+ <AptosWalletAdapterProvider />
111+ ```
99112</Steps >
100113
101114</Tabs.Tab >
@@ -136,7 +149,7 @@ import { setupAutomaticEthereumWalletDerivation } from "@aptos-labs/derived-wall
136149
137150setupAutomaticEthereumWalletDerivation({ defaultNetwork : Network .TESTNET } ); // this is the Aptos network your dapp is working with
138151
139- .....
152+ ...
140153
141154<AptosWalletAdapterProvider
142155 dappConfig = { {
@@ -146,6 +159,19 @@ setupAutomaticEthereumWalletDerivation({ defaultNetwork: Network.TESTNET }); //
146159 { children }
147160<AptosWalletAdapterProvider />
148161```
162+
163+ ### Set `crossChainWallets` dapp config prop to `true` fot the `AptosWalletAdapterProvider`
164+
165+ ```tsx filename="WalletProvider.tsx"
166+ <AptosWalletAdapterProvider
167+ dappConfig = { {
168+ network: Network .TESTNET ,
169+ crossChainWallets: true ,
170+ }}
171+ >
172+ { children }
173+ <AptosWalletAdapterProvider />
174+ ```
149175</Steps >
150176</Tabs.Tab >
151177
0 commit comments