# @web3auth-mpc/phantom-adapter

> phantom wallet adapter for web3auth

Latest version **3.1.0** (published 2023-11-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install @web3auth-mpc/phantom-adapter
pnpm add @web3auth-mpc/phantom-adapter
yarn add @web3auth-mpc/phantom-adapter
bun add @web3auth-mpc/phantom-adapter
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.1.0 |
| Published | 2023-11-27 |
| First published | 2022-10-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.x |
| Dependencies | 5 |
| Unpacked size | 4.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 492 |
| Author | Torus Labs |
| Maintainers | himanshunpm009, tetratorus, chaitanyapotti |
| Keywords | web3Auth/phantom-wallet-adapter, web3Auth, multichainWallet, blockchain, ethereum, solana, phantom |

## Links

- npm: https://www.npmjs.com/package/@web3auth-mpc/phantom-adapter
- Repository: https://github.com/Web3Auth/Web3Auth
- Homepage: https://github.com/Web3Auth/Web3Auth/blob/master/packages/adapters/phantom-adapter/README.md
- Issues: https://github.com/Web3Auth/Web3Auth/issues
- npm.io page: https://npm.io/package/@web3auth-mpc/phantom-adapter

## Dependencies (5)

- [bn.js](https://npm.io/package/bn.js.md) ^5.2.1
- [@web3auth-mpc/base](https://npm.io/package/@web3auth-mpc/base.md) ^3.1.0
- [@web3auth-mpc/base-provider](https://npm.io/package/@web3auth-mpc/base-provider.md) ^3.1.0
- [@web3auth-mpc/solana-provider](https://npm.io/package/@web3auth-mpc/solana-provider.md) ^3.1.0
- [@web3auth-mpc/base-solana-adapter](https://npm.io/package/@web3auth-mpc/base-solana-adapter.md) ^3.1.0

## Alternatives

- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads
- [escher-request](https://npm.io/package/escher-request.md) — 545 weekly downloads

## Recent versions

- 3.1.0 (latest) — 2023-11-27
- 3.0.0 — 2023-10-03
- 2.1.9 — 2022-10-06
- 2.1.4 — 2022-10-03

## README

# Web3Auth Phantom Adapter

[![npm version](https://img.shields.io/npm/v/@web3auth-mpc/phantom-adapter?label=%22%22)](https://www.npmjs.com/package/@web3auth-mpc/phantom-adapter/v/latest)
[![minzip](https://img.shields.io/bundlephobia/minzip/@web3auth-mpc/phantom-adapter?label=%22%22)](https://bundlephobia.com/result?p=@web3auth-mpc/phantom-adapter@latest)

> Web3Auth is where passwordless auth meets non-custodial key infrastructure for Web3 apps and wallets. By aggregating OAuth (Google, Twitter, Discord) logins, different wallets and innovative Multi Party Computation (MPC) - Web3Auth provides a seamless login experience to every user on your application.

Phantom adapter allows your Web3Auth Instance to connect with phantom wallet.

## 📖 Documentation

Read more about the Web3Auth Phantom Adapter in the [official Web3Auth Documentation](https://web3auth.io/docs/sdk/web/adapters/phantom).

## 💡 Features
- Plug and Play, OAuth based Web3 Authentication Service
- Fully decentralized, non-custodial key infrastructure
- End to end Whitelabelable solution
- Threshold Cryptography based Key Reconstruction
- Multi Factor Authentication Setup & Recovery (Includes password, backup phrase, device factor editing/deletion etc)
- Support for WebAuthn & Passwordless Login
- Support for connecting to multiple wallets
- DApp Active Session Management

...and a lot more

## 📄 Basic Details

- Adapter Name: `phantom`

- Package Name: [`@web3auth-mpc/phantom-adapter`](https://web3auth.io/docs/sdk/web/adapters/phantom)

- authMode: `DAPP`

- chainNamespace: `SOLANA`

- Default: `YES`

## 🔗 Installation

```shell
npm install --save @web3auth-mpc/phantom-adapter
```

## 🩹 Example

```ts
import { PhantomAdapter } from "@web3auth-mpc/phantom-adapter";
const phantomAdapter = new PhantomAdapter();
web3auth.configureAdapter(phantomAdapter);
```

Checkout the examples for your preferred blockchain and platform in our [examples repository](https://github.com/Web3Auth/examples/)

## 🌐 Demo

Checkout the [Web3Auth Demo](https://demo-app.web3auth.io/) to see how Web3Auth can be used in your application.

## 💬 Troubleshooting and Support

- Have a look at our [Community Portal](https://community.web3auth.io/) to see if anyone has any questions or issues you might be having. Feel free to reate new topics and we'll help you out as soon as possible.
- Checkout our [Troubleshooting Documentation Page](https://web3auth.io/docs/troubleshooting) to know the common issues and solutions.
- For Priority Support, please have a look at our [Pricing Page](https://web3auth.io/pricing.html) for the plan that suits your needs.

---
_Source: https://npm.io/package/@web3auth-mpc/phantom-adapter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
