Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit fe6fb2a

Browse files
committed
update cross chain accounts doc to show testnet support
1 parent 02ea689 commit fe6fb2a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

apps/nextra/pages/en/build/sdks/wallet-adapter/x-chain-accounts.mdx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Callout, Tabs, Steps } from "nextra/components";
77
# X-Chain Accounts
88

99
<Callout>
10-
The feature is currently only available on devnet and is considered an alpha version; therefore, you can expect breaking changes.
10+
The feature is currently only available on devnet and testnet and is considered an alpha version; therefore, you can expect breaking changes.
1111
</Callout>
1212

1313

@@ -60,10 +60,10 @@ Currently, the wallets that have been tested and support cross-chain accounts ar
6060

6161
| | Aptos Devnet | Aptos Testnet | Aptos Mainnet |
6262
|----------|--------------|---------------|---------------|
63-
| Phantom || |
64-
| Solflare || |
65-
| Backpack || |
66-
| OKX || |
63+
| Phantom || | |
64+
| Solflare || | |
65+
| Backpack || | |
66+
| OKX || | |
6767

6868

6969
Supporting x-chain accounts in a dApp requires only a 2-step installation process.
@@ -84,13 +84,13 @@ In the same file where you import the other wallets, such as `WalletProvider.tsx
8484
```tsx filename="WalletProvider.tsx"
8585
import { setupAutomaticSolanaWalletDerivation } from "@aptos-labs/derived-wallet-solana";
8686

87-
setupAutomaticSolanaWalletDerivation({ defaultNetwork: Network.DEVNET }); // this is the Aptos network your dapp is working with
87+
setupAutomaticSolanaWalletDerivation({ defaultNetwork: Network.TESTNET }); // this is the Aptos network your dapp is working with
8888

8989
.....
9090

9191
<AptosWalletAdapterProvider
9292
dappConfig={{
93-
network: Network.DEVNET,
93+
network: Network.TESTNET,
9494
}}
9595
>
9696
{children}
@@ -108,12 +108,12 @@ Currently, the wallets that have been tested and support cross-chain accounts ar
108108

109109
| | Aptos Devnet | Aptos Testnet | Aptos Mainnet |
110110
|----------|--------------|----------------|---------------|
111-
| Metamask | ✅ | |
112-
| Phantom | ✅ | |
113-
| Coinbase | ✅ | |
114-
| OKX | ✅ | |
115-
| Exodus | ✅ | |
116-
| Backpack | ✅ | |
111+
| Metamask | ✅ | |
112+
| Phantom | ✅ | |
113+
| Coinbase | ✅ | |
114+
| OKX | ✅ | |
115+
| Exodus | ✅ | |
116+
| Backpack | ✅ | |
117117

118118

119119
Supporting x-chain accounts in a dApp requires only a 2-step installation process.
@@ -134,13 +134,13 @@ In the same file where you import the other wallets, such as `WalletProvider.tsx
134134
```tsx filename="WalletProvider.tsx"
135135
import { setupAutomaticEthereumWalletDerivation } from "@aptos-labs/derived-wallet-ethereum";
136136

137-
setupAutomaticEthereumWalletDerivation({ defaultNetwork: Network.DEVNET }); // this is the Aptos network your dapp is working with
137+
setupAutomaticEthereumWalletDerivation({ defaultNetwork: Network.TESTNET }); // this is the Aptos network your dapp is working with
138138

139139
.....
140140

141141
<AptosWalletAdapterProvider
142142
dappConfig={{
143-
network: Network.DEVNET,
143+
network: Network.TESTNET,
144144
}}
145145
>
146146
{children}
@@ -167,7 +167,7 @@ import { useWallet } from '@aptos-labs/wallet-adapter-react';
167167
import { Aptos, AptosConfig, Network, Ed25519PrivateKey, PrivateKey, PrivateKeyVariants, Account } from '@aptos-labs/ts-sdk';
168168
169169
// Initialize an Aptos client
170-
const config = new AptosConfig({ network: Network.DEVNET });
170+
const config = new AptosConfig({ network: Network.TESTNET });
171171
const aptos = new Aptos(config);
172172
173173
// Generate a sponsor account or use an existing account

0 commit comments

Comments
 (0)