Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Latest commit

 

History

History
35 lines (25 loc) · 581 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 581 Bytes

@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)