JSPM

  • Created
  • Published
  • Downloads 133
  • Score
    100M100P100Q99941F
  • License MIT

D'CENT module for web3-onboard

Package Exports

  • @web3-onboard/dcent
  • @web3-onboard/dcent/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@web3-onboard/dcent) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@web3-onboard/dcent

Wallet module for connecting D'CENT hardware wallets to web3-onboard

Install

npm i @web3-onboard/dcent

Usage

import Onboard from '@web3-onboard/core'
import dcentModule from '@web3-onboard/dcent'

const dcent = dcentModule()

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

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