Portis
Wallet module for connecting Portis wallet to web3-onboard

@web3-onboard/portis

Install

npm i @web3-onboard/portis

Options

1
type PortisOptions {
2
apiKey: string // required
3
}
Copied!

Usage

1
import Onboard from '@web3-onboard/core'
2
import portisModule from '@web3-onboard/portis'
3
4
const portis = portisModule({ apiKey: 'API_KEY' })
5
6
const onboard = Onboard({
7
// ... other Onboard options
8
wallets: [
9
portis
10
//... other wallets
11
]
12
})
13
14
const connectedWallets = await onboard.connectWallet()
15
console.log(connectedWallets)
Copied!