Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 595 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 595 Bytes

@web3-onboard/mew-wallet

Wallet module for connecting Mew wallet through web3-onboard

Install

NPM npm i @web3-onboard/core @web3-onboard/mew-wallet

Yarn yarn add @web3-onboard/core @web3-onboard/mew-wallet

Usage

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)