@solflare-wallet/wallet-adapter
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

@solflare-wallet/wallet-adapter

Solflare wallet adapter compatible with Wallet Standard and Solana Wallet Adapter

You can either initialize the standard adapter or add the Solana Wallet Adapter compatible wallet to your list.

Initialize the standard adapter

import { initialize } from '@solflare-wallet/wallet-adapter';

initialize();

Add the adapter to the list of supported wallets

import { SolflareWalletAdapter } from '@solflare-wallet/wallet-adapter';

const wallets = useMemo(() => [
  new SolflareWalletAdapter(),
  // ...
], []);

<WalletProvider wallets={wallets} autoConnect>
  <App />
</WalletProvider>

Readme

Keywords

none

Package Sidebar

Install

npm i @solflare-wallet/wallet-adapter

Weekly Downloads

577

Version

1.0.4

License

Apache-2.0

Unpacked Size

72.4 kB

Total Files

47

Last publish

Collaborators

  • anbud
  • turshija
  • vsakos
  • vidor
  • veloja
  • sljuka
  • skakac