Socket
Socket
Sign inDemoInstall

@0xsequence/kit-wallet

Package Overview
Dependencies
12
Maintainers
9
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @0xsequence/kit-wallet

Wallet UI for Sequence Kit


Version published
Maintainers
9
Created

Readme

Source

Sequence Kit Wallet

Embedded wallet allowing to display and send collectibles and coins.

Installing the module

First install the package:

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

Then the wallet provider module must placed below the Sequence Kit Core provider.

import { KitWalletProvider } from '@0xsequence/kit-wallet'


const App = () => {
  return (
    <WagmiConfig config={config}>
      <KitProvider>
        <KitWalletProvider>
          <Page />
        </KitWalletProvider>
      </KitProvider>
    </WagmiConfig>
  )
}

Opening the embedded wallet

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

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

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

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

  return (
    <button onClick={onClick}>open wallet</button>
  )
}

FAQs

Last updated on 29 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc