@@ -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
6969Supporting 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"
8585import { 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
119119Supporting 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"
135135import { 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';
167167import { 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 });
171171const aptos = new Aptos(config);
172172
173173// Generate a sponsor account or use an existing account
0 commit comments