Wallets
Portis
Wallet module for connecting Portis wallet to web3-onboard
Install
- Yarn
- Npm
Options
Usage
Build Environments
For build env configurations and setups please see the Build Env section here
Wallets
Wallet module for connecting Portis wallet to web3-onboard
yarn add @web3-onboard/portis
npm install @web3-onboard/portis
type PortisOptions {
apiKey: string // required
}
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);
For build env configurations and setups please see the Build Env section here