# @web3-onboard/portis

> 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

Latest version **2.2.1** (published 2024-06-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @web3-onboard/portis
pnpm add @web3-onboard/portis
yarn add @web3-onboard/portis
bun add @web3-onboard/portis
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.2.1 |
| Published | 2024-06-05 |
| First published | 2022-02-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 17.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 922 |
| Maintainers | aaronbarnard1, cmeisl |
| Keywords | Ethereum, Web3, EVM, dapp, Multichain, Wallet, Transaction, Provider, Hardware Wallet, Notifications, React, Svelte, Vue, Next, Nuxt, MetaMask, Coinbase, WalletConnect, Ledger, Trezor, Connect Wallet, Ethereum Hooks, Blocknative, Mempool, pending, confirmed, Injected Wallet |

## Links

- npm: https://www.npmjs.com/package/@web3-onboard/portis
- Repository: https://github.com/blocknative/web3-onboard
- Homepage: https://onboard.blocknative.com
- Issues: https://github.com/blocknative/web3-onboard/issues
- npm.io page: https://npm.io/package/@web3-onboard/portis

## Dependencies (2)

- [@portis/web3](https://npm.io/package/@portis/web3.md) ^4.0.6
- [@web3-onboard/common](https://npm.io/package/@web3-onboard/common.md) ^2.4.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.2.1 (latest) — 2024-06-05
- 2.2.0-alpha.2 (next) — 2024-05-28
- 2.2.0 — 2024-05-31
- 2.2.0-wagmi.2 — 2024-05-23
- 2.2.0-wagmi.1 — 2024-05-17
- 2.2.0-viem.1 — 2024-05-13
- 2.1.7 — 2023-05-19
- 2.1.7-alpha.1 — 2023-05-19
- 2.1.6 — 2023-05-11
- 2.1.6-alpha.2 — 2023-05-09
- 2.1.6-alpha.1 — 2023-05-08
- 2.1.5 — 2023-04-07
- 2.1.5-alpha.1 — 2023-04-06
- 2.1.4 — 2023-03-28
- 2.1.4-alpha.2 — 2023-03-24
- … 28 more at https://npm.io/package/@web3-onboard/portis/versions

## README

# @web3-onboard/portis

## Wallet module for connecting Portis wallet to web3-onboard

### Install

`npm i @web3-onboard/portis`

## Options

```typescript
type PortisOptions {
  apiKey: string // required
}
```

## Usage

```typescript
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)
```

---
_Source: https://npm.io/package/@web3-onboard/portis · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
