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

@web3-onboard/dcent

Install

npm i @web3-onboard/dcent

Usage

1
import Onboard from '@web3-onboard/core'
2
import dcentModule from '@web3-onboard/dcent'
3
4
const dcent = dcentModule()
5
6
const onboard = Onboard({
7
// ... other Onboard options
8
wallets: [
9
dcent
10
//... other wallets
11
]
12
})
13
14
const connectedWallets = await onboard.connectWallet()
15
console.log(connectedWallets)
Copied!
Last modified 18d ago
Copy link