1. Packages
  2. @web3-onboard/torus

Packages

@web3-onboard/torus

Wallet module for connecting Torus wallet to web3-onboard

Install

Options

See the Torus Docs for the extensive list of options

Usage

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

const torus = torusModule()

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

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