@subwallet-connect/mew-wallet
v1.0.8
Published
MEW (MyEtherWallet) Wallet SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framew
Downloads
13
Maintainers
Readme
@subwallet-connect/mew-wallet
Wallet module for connecting Mew wallet through web3-onboard
Install
NPM
npm i @subwallet-connect/core @subwallet-connect/mew-wallet
Yarn
yarn add @subwallet-connect/core @subwallet-connect/mew-wallet
Usage
import Onboard from '@subwallet-connect/core'
import mewWallet from '@subwallet-connect/mew-wallet'
const mewWalletModule = mewWallet()
const onboard = Onboard({
// ... other Onboard options
wallets: [
mewWalletModule
//... other wallets
]
})
const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)