🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@onflow/fcl-wc

Package Overview
Dependencies
Maintainers
14
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onflow/fcl-wc

WalletConnect adapter for FCL

latest
Source
npmnpm
Version
6.0.8
Version published
Weekly downloads
11K
-12.96%
Maintainers
14
Weekly downloads
 
Created
Source

@onflow/fcl-wc

WalletConnect adapter for FCL-JS.

Status

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

Install

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.

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)

FAQs

Package last updated on 21 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts