@subwallet-connect/xdefi
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

@subwallet-connect/xdefi

Wallet module for connecting XDEFI Wallet to web3-onboard

See XDEFI Wallet Developer Docs

Install

npm i @subwallet-connect/xdefi

Usage

import Onboard from '@subwallet-connect/core'
import xdefiWalletModule from '@subwallet-connect/xdefi'

// initialize the module with options
const xdefiSdk = xdefiWalletModule()

const onboard = Onboard({
  // ... other Onboard options
  wallets: [
    xdefiSdk
    //... other wallets
  ]
})

const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)

Package Sidebar

Install

npm i @subwallet-connect/xdefi

Weekly Downloads

4

Version

1.0.8

License

MIT

Unpacked Size

10.2 kB

Total Files

8

Last publish

Collaborators

  • anhmtv