npm i @subwallet-connect/torus
See the Torus Docs for the extensive list of options
import Onboard from '@subwallet-connect/core'
import torusModule from '@subwallet-connect/torus'
const torus = torusModule()
const onboard = Onboard({
// ... other Onboard options
wallets: [
torus
//... other wallets
]
})
const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)