Skip to content
Thiendekaco edited this page Apr 4, 2024 · 3 revisions

@subwallet-connect/mew

(Deprecated) Wallet module for connecting WalletLink to SubConnect

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)

Wallet module for connecting Mew wallet to SubConnect

Install

npm i @subwallet-connect/mew

Usage

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

Clone this wiki locally