Wallets
Keepkey
Wallet module for connecting KeepKey hardware wallets to web3-onboard
Install
- Yarn
- Npm
terminal
yarn add @web3-onboard/keepkey
terminal
npm install @web3-onboard/keepkey
Usage
import Onboard from '@web3-onboard/core'
import keepkeyModule from '@web3-onboard/keepkey'
const keepkey = keepkeyModule()
const onboard = Onboard({
// ... other Onboard options
wallets: [
keepkey
//... other wallets
]
})
const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)
Initialization options:
type keepkeyInitOptions = {
containerElement?: string
filter?: Platform
}
The following is a list of the platforms that can be filtered:
type Platform = DeviceOSName | DeviceBrowserName | DeviceType | 'all';
type Platform =
| 'Windows Phone'
| 'Windows'
| 'macOS'
| 'iOS'
| 'Android'
| 'Linux'
| 'Chrome OS'
| 'Android Browser'
| 'Chrome'
| 'Chromium'
| 'Firefox'
| 'Microsoft Edge'
| 'Opera'
| 'Safari'
| 'desktop'
| 'mobile'
| 'tablet'
Build Environments
For build env configurations and setups please see the Build Env section here