5.3.5 • Published 4 months ago

@0xsequence/wallet-widget v5.3.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

Sequence Web SDK Wallet

Embedded wallet allowing to display and send collectibles and coins.

Installing the module

First install the package:

npm install @0xsequence/wallet-widget
# or
pnpm install @0xsequence/wallet-widget
# or
yarn add @0xsequence/wallet-widget

Then the wallet provider module must placed below the Sequence Web SDK Core provider.

import { SequenceWalletProvider } from '@0xsequence/wallet-widget'

const App = () => {
  return (
    <SequenceConnect config={config}>
      <SequenceWalletProvider>
        <Page />
      </SequenceWalletProvider>
    </WagmiProvider>
  )
}

Opening the embedded wallet

The embedded wallet modal can be summoded with the useOpenWalletModal hook.

import { useOpenWalletModal } from '@0xsequence/wallet-widget'

const MyComponent = () => {
  const { setOpenWalletModal } = useOpenWalletModal()

  const onClick = () => {
    setOpenWalletModal(true)
  }

  return <button onClick={onClick}>open wallet</button>
}
5.3.5

4 months ago

5.3.4

5 months ago

5.3.3

5 months ago

5.3.2

5 months ago

5.3.1

5 months ago

5.3.0

5 months ago

5.2.4

5 months ago

5.2.3

5 months ago

5.2.2

5 months ago

5.2.1

5 months ago

5.2.0

6 months ago

5.1.1

6 months ago

5.1.0

6 months ago

5.0.9

6 months ago

5.0.8

6 months ago

5.0.7

6 months ago

5.0.6

6 months ago

5.0.5

6 months ago

5.0.4

7 months ago

5.0.3

7 months ago

5.0.2

7 months ago

5.0.1

7 months ago

5.0.0

7 months ago