@subwallet-connect/portis
v1.0.8
Published
Portis SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern
Downloads
13
Maintainers
Readme
@subwallet-connect/portis
Wallet module for connecting Portis wallet to web3-onboard
Install
npm i @subwallet-connect/portis
Options
type PortisOptions {
apiKey: string // required
}
Usage
import Onboard from '@subwallet-connect/core'
import portisModule from '@subwallet-connect/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)