forked from blocknative/web3-onboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Mew
Thiendekaco edited this page Apr 4, 2024
·
3 revisions
NPM
npm i @subwallet-connect/core @subwallet-connect/mew-wallet
Yarn
yarn add @subwallet-connect/core @subwallet-connect/mew-wallet
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)
npm i @subwallet-connect/mew
import Onboard from '@subwallet-connectcore'
import mewModule from '@subwallet-connect/mew'
const mew = mewModule()
const onboard = Onboard({
// ... other Onboard options
wallets: [
mew
//... other wallets
]
})
const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)
NOTE: Currently not building on M1 Macs