1. Wallets
  2. XDEFI

Wallets

XDEFI

Wallet module for connecting XDEFI to web3-onboard

See XDEFI Wallet Developer Docs

Install

Usage

        import Onboard from '@web3-onboard/core'
import xdefiWalletModule from '@web3-onboard/xdefi'

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

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

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