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
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