Wallets
Dcent
Wallet module for connecting D'CENT hardware wallets to Web3 Onboard.
Install
- Yarn
- Npm
Usage
Build Environments
For build env configurations and setups please see the Build Env section here
Wallets
Wallet module for connecting D'CENT hardware wallets to Web3 Onboard.
yarn add @web3-onboard/dcent
npm install @web3-onboard/dcent
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)
For build env configurations and setups please see the Build Env section here