@web3-onboard/portis
TypeScript icon, indicating that this package has built-in type declarations

2.2.1 • Public • Published

@web3-onboard/portis

Wallet module for connecting Portis wallet to web3-onboard

Install

npm i @web3-onboard/portis

Options

type PortisOptions {
  apiKey: string // required
}

Usage

import Onboard from '@web3-onboard/core'
import portisModule from '@web3-onboard/portis'

const portis = portisModule({ apiKey: 'API_KEY' })

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

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

Dependencies (2)

Dev Dependencies (1)

Package Sidebar

Install

npm i @web3-onboard/portis

Weekly Downloads

184

Version

2.2.1

License

MIT

Unpacked Size

17.8 kB

Total Files

6

Last publish

Collaborators

  • aaronbarnard1
  • cmeisl