Wallets
Keplr Wallet
Wallet module for connecting Keplr Wallet through 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/keplr
npm install @web3-onboard/keplr
import Onboard from '@web3-onboard/core'
import KeplrWallet from '@web3-onboard/keplr'
const keplr = KeplrWallet()
const onboard = Onboard({
// ... other Onboard options
wallets: [
keplr
//... other wallets
]
})
const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)
For build env configurations and setups please see the Build Env section here