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