# @onflow/fcl-wc

> WalletConnect adapter for FCL

Latest version **6.0.23** (published 2026-06-23) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @onflow/fcl-wc
pnpm add @onflow/fcl-wc
yarn add @onflow/fcl-wc
bun add @onflow/fcl-wc
```

## Health

**Score 75/100 (B)** — status: active.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 6.0.23 |
| Published | 2026-06-23 |
| First published | 2022-08-23 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 11 |
| Unpacked size | 164.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 333 |
| Author | Flow Foundation |
| Maintainers | han210, dapperj, dapper_labs, jeffreydoyle, harry.eth, chasefleming, gregorggg, turbolent_ff, jribbink, kan-flow-foundation, michael_flow, lmcmze |

## Links

- npm: https://www.npmjs.com/package/@onflow/fcl-wc
- Repository: https://github.com/onflow/fcl-js
- Homepage: https://flow.com
- Issues: https://github.com/onflow/fcl-js/issues
- npm.io page: https://npm.io/package/@onflow/fcl-wc

## Dependencies (11)

- [preact](https://npm.io/package/preact.md) ^10.24.3
- [postcss-cli](https://npm.io/package/postcss-cli.md) ^11.0.0
- [tailwindcss](https://npm.io/package/tailwindcss.md) ^3.4.14
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.25.7
- [@onflow/config](https://npm.io/package/@onflow/config.md) 1.11.1
- [@onflow/util-logger](https://npm.io/package/@onflow/util-logger.md) 1.3.4
- [@walletconnect/modal](https://npm.io/package/@walletconnect/modal.md) ^2.7.0
- [@walletconnect/types](https://npm.io/package/@walletconnect/types.md) ^2.20.2
- [@walletconnect/utils](https://npm.io/package/@walletconnect/utils.md) ^2.20.2
- [@onflow/util-invariant](https://npm.io/package/@onflow/util-invariant.md) 1.2.5
- [@walletconnect/universal-provider](https://npm.io/package/@walletconnect/universal-provider.md) ^2.20.2

## Recent versions

- 6.0.23 (latest) — 2026-06-23
- 6.0.5-alpha.2 (alpha) — 2025-07-24
- 6.0.0-kit.0 (kit) — 2025-04-23
- 6.0.0-cross-vm.4 (cross-vm) — 2025-04-08
- 5.4.0-deeplink.2 (deeplink) — 2024-10-12
- 6.0.22 — 2026-03-25
- 6.0.21 — 2025-12-12
- 6.0.20 — 2025-12-12
- 6.0.19 — 2025-12-12
- 6.0.13 — 2025-12-10
- 6.0.12 — 2025-12-09
- 6.0.11 — 2025-11-28
- 6.0.10 — 2025-11-17
- 6.0.9 — 2025-11-06
- 6.0.8 — 2025-10-21
- … 82 more at https://npm.io/package/@onflow/fcl-wc/versions

## README

# @onflow/fcl-wc

WalletConnect adapter for FCL-JS.

## Status

- **Last Updated:** Aug 2022
- **Stable:** No
- **Risk of Breaking Change:** Yes

## Install

```bash
npm install --save @onflow/fcl-wc
```

## Usage

The package exports `init` and utils.
Currently, a WalletConnect `projectId` is required and can be obtained @ https://cloud.walletconnect.com. Metadata is optional.

Initialization returns `FclWcServicePlugin` and a Walletconnect `client`. The `client` can be used to subscribe to events, disconnect from a wallet, and query session and pairing status.
Passing `FclWcServicePlugin` to `fcl.pluginRegistry.add()` will enable use of the `"WC/RPC"` service strategy and add new and existing WalletConnect services to FCL Discovery.

```javascript
import * as fcl from '@onflow/fcl'
import { init } from '@onflow/fcl-wc'

const { FclWcServicePlugin, client } = await init({
  projectId: PROJECT_ID,
  metadata: {
    name: 'FCL WC DApp',
    description: 'FCL DApp with support for WalletConnect',
    url: 'https://flow.com/',
    icons: ['https://avatars.githubusercontent.com/u/62387156?s=280&v=4']
  }
})

fcl.pluginRegistry.add(FclWcServicePlugin)
```

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