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

Commit 0edace5

Browse files
authored
Update wallet adapter instructions for dapps (#985)
update wallet adapter intructions for dapps
1 parent 0953a69 commit 0edace5

File tree

1 file changed

+1
-2
lines changed
  • apps/nextra/pages/en/build/sdks/wallet-adapter

1 file changed

+1
-2
lines changed

apps/nextra/pages/en/build/sdks/wallet-adapter/dapp.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You can use any of the following optional fields.
5858
It is recommended to:
5959

6060
1. Set `autoConnect` to `true`.
61-
2. Include `plugins` for any wallets that are using the legacy standard.
61+
2. Set the `dappConfig` with the `network` property set to the network your dapp works with
6262

6363
| Field | Description | Example |
6464
| --- | --- | --- |
@@ -78,7 +78,6 @@ export const WalletProvider = ({ children }: PropsWithChildren) => {
7878

7979
return (
8080
<AptosWalletAdapterProvider
81-
optInWallets={['Petra']}
8281
autoConnect={true}
8382
dappConfig={{ network: Network.MAINNET }}
8483
onError={(error) => {

0 commit comments

Comments
 (0)