Skip to content

Commit

Permalink
Update wallet adapter docs (MystenLabs#5535)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Mysten authored Oct 25, 2022
1 parent b6d56bd commit c7893bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdk/wallet-adapter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ import { WalletProvider } from "@mysten/wallet-adapter-react";
import { WalletStandardAdapterProvider } from "@mysten/wallet-adapter-all-wallets";

export function App() {
const supportedWallets = [
const adapters = useMemo(() => [
// Add support for all wallets that adhere to the Wallet Standard:
new WalletStandardAdapterProvider(),
];
], []);

return (
<WalletProvider supportedWallets={supportedWallets}>
<WalletProvider adapters={adapters}>
{/* Your application... */}
</WalletProvider>
);
Expand Down Expand Up @@ -94,7 +94,7 @@ The following wallets are known to work with the Wallet Standard:
- **[Sui Wallet](https://docs.sui.io/devnet/explore/wallet-browser)**
- **[Ethos Wallet](https://chrome.google.com/webstore/detail/ethos-wallet/mcbigmjiafegjnnogedioegffbooigli)**
- **[Suiet Wallet](https://suiet.app/)**

## Demo app

This repo has a simple demo app to test the behavior of the wallet adapters. You can run it using the following commands:
Expand Down

0 comments on commit c7893bf

Please sign in to comment.