2.0.0-alpha.6 • Published 2 years ago

@bn-onboard/torus v2.0.0-alpha.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@bn-onboard/torus

Wallet module for connecting Torus wallet to Onboard V2

Install

npm i @bn-onboard/torus

Options

See the Torus Docs for the extensive list of options

Usage

import Onboard from '@bn-onboard/core'
import torusModule from '@bn-onboard/torus'

const torus = torusModule()

const onboard = Onboard({
  // ... other Onboard options
  wallets: [
    torus
    //... other wallets
  ]
})

const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)